Skip to content

Engine components should be created with up-to-date parameters #39

@djsperka

Description

@djsperka

ScanGUIHelpers use AcqParams to set up engine components when they are first created. But user can modify AcqParams, e.g., and then hit Start button. The components are already created, even though AcqParams have changed.

This is seen when changing AcqParams, unless you exit and re-enter.

Only some components need info beyond the ScanGUIHelper's own params, but should allow for it in any case.

Currently, the component functions are required when the Start button is hit.

Can property get calls require an input parameter, e.g.

@property
def format_planner(self, acq: AcqParams) -> FormatPlanner:
   # whatevs

Otherwise, make a call to scanGUIHelper.updateEngineComponents(acq) or something like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions