From c68f0515f5e7f7ebbad51fd63414f5f9be760f9f Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Fri, 11 Jul 2025 07:26:26 +0000 Subject: [PATCH] Apply suggestions from code review of branch better-docstrings Co-authored-by: Richard Bowman --- .../things/camera_stage_mapping.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/openflexure_microscope_server/things/camera_stage_mapping.py b/src/openflexure_microscope_server/things/camera_stage_mapping.py index fa42d9f6..97aa5e25 100644 --- a/src/openflexure_microscope_server/things/camera_stage_mapping.py +++ b/src/openflexure_microscope_server/things/camera_stage_mapping.py @@ -47,10 +47,7 @@ XYCoordinateType = Tuple[float, float] class HardwareInterfaceModel(BaseModel): """A pydantic base model for a stage and camera interface. - This class provides access to both the stage and the camera, but - it is confusing both because it is a BaseModel of callables rather - than a class with methods, and because it uses names from the underlying - Thing actions, but performs different actions. + This code has been flagged as confusing and will be replaced soon, see #476. """ move: Callable[[NDArray], None]