Open
Description
We now no longer create a new recipe file for each resume. However, the one recipe file that is present does not necessarily reflect what the acquisition is doing. For example: if we stop an acquisition early to change the number of sections, the new number of sections is not written to the existing recipe file.
The only place the recipe is written is at line 180 of BT.bake
:
% Now the recipe has been modified (at the start of BakingTray.bake) we can write the full thing to disk
if sectionInd==1
obj.recipe.writeFullRecipeForAcquisition(obj.sampleSavePath);
end