From 1221b6ca02bece4f4f280aa43b9cdf892cd139a6 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Tue, 10 Feb 2026 16:40:11 +0000 Subject: [PATCH] Apply suggestions from code review of branch More-workflow-layers Co-authored-by: Joe Knapper --- src/openflexure_microscope_server/things/scan_workflows.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openflexure_microscope_server/things/scan_workflows.py b/src/openflexure_microscope_server/things/scan_workflows.py index 7dac4c50..1afac9b8 100644 --- a/src/openflexure_microscope_server/things/scan_workflows.py +++ b/src/openflexure_microscope_server/things/scan_workflows.py @@ -68,6 +68,7 @@ class ScanWorkflow(Generic[SettingModelType], lt.Thing): # CSM may not be set, and isn't required for a workflow. Allow for it to exist or be None _csm: Optional[CameraStageMapper] = lt.thing_slot() + # Camera, stage and autofocus are all required by any scan workflow _cam: BaseCamera = lt.thing_slot() _stage: BaseStage = lt.thing_slot() _autofocus: AutofocusThing = lt.thing_slot()