From eb88e1f1c0a38e90f41586628d44580289af359e Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Mon, 9 Feb 2026 15:35:19 +0000 Subject: [PATCH] Apply suggestions from code review of branch snake-scan Co-authored-by: Julian Stirling --- src/openflexure_microscope_server/things/scan_workflows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openflexure_microscope_server/things/scan_workflows.py b/src/openflexure_microscope_server/things/scan_workflows.py index 01212304..a164cccc 100644 --- a/src/openflexure_microscope_server/things/scan_workflows.py +++ b/src/openflexure_microscope_server/things/scan_workflows.py @@ -66,7 +66,7 @@ class ScanWorkflow(Generic[SettingModelType], lt.Thing): """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: Optional[CameraStageMapper] = None + _csm: Optional[CameraStageMapper] = lt.thing_slot() def check_before_start(self, scan_name: str) -> None: """Check before the scan starts. Throw an error if the scan shouldn't start.