Apply suggestions from code review of branch snake-scan
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
parent
1c17b27c05
commit
eb88e1f1c0
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class ScanWorkflow(Generic[SettingModelType], lt.Thing):
|
||||||
"""A tuple of the image resolution to capture."""
|
"""A tuple of the image resolution to capture."""
|
||||||
|
|
||||||
# CSM may not be set, and isn't required for a workflow. Allow for it to exist or be None
|
# CSM may not be set, and isn't required for a workflow. Allow for it to exist or be None
|
||||||
_csm: Optional[CameraStageMapper] = None
|
_csm: Optional[CameraStageMapper] = lt.thing_slot()
|
||||||
|
|
||||||
def check_before_start(self, scan_name: str) -> None:
|
def check_before_start(self, scan_name: str) -> None:
|
||||||
"""Check before the scan starts. Throw an error if the scan shouldn't start.
|
"""Check before the scan starts. Throw an error if the scan shouldn't start.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue