Skip to content

The recipe of a resumed sample is not updated if parameters are modified #413

Open
@raacampbell

Description

@raacampbell

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions