From 942e9e5024f4b40ff9999913e683d674934d4470 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Tue, 16 Dec 2025 09:30:46 +0000 Subject: [PATCH] Fix type for ROM calibrated_range --- src/openflexure_microscope_server/things/stage_measure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openflexure_microscope_server/things/stage_measure.py b/src/openflexure_microscope_server/things/stage_measure.py index 4c244d9e..dbe229d6 100644 --- a/src/openflexure_microscope_server/things/stage_measure.py +++ b/src/openflexure_microscope_server/things/stage_measure.py @@ -136,7 +136,7 @@ class ParasiticMotionError(Exception): class RangeofMotionThing(lt.Thing): """A class used to measure the range of motion of the stage in X and Y.""" - calibrated_range: int = lt.setting(default=None, readonly=True) + calibrated_range: Optional[list[int, int]] = lt.setting(default=None, readonly=True) def __init__(self, thing_server_interface: lt.ThingServerInterface) -> None: """Initialise and create the lock."""