From f91582c9eb5f0ad9b71a35efe414775b850ac1a8 Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Thu, 10 Jul 2025 23:31:34 +0000 Subject: [PATCH] Apply suggestions from code review of branch better-docstrings Co-authored-by: Richard Bowman --- src/openflexure_microscope_server/things/autofocus.py | 2 +- src/openflexure_microscope_server/things/settings_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openflexure_microscope_server/things/autofocus.py b/src/openflexure_microscope_server/things/autofocus.py index 1353df65..3ec21a74 100644 --- a/src/openflexure_microscope_server/things/autofocus.py +++ b/src/openflexure_microscope_server/things/autofocus.py @@ -197,7 +197,7 @@ class JPEGSharpnessMonitor: The ``run`` context manager is used to start monitoring the camera stream. Position monitoring happens during ``focus_rel``. Raw data can be retrieved with - ``data_dict`` and data with interpolate ``z`` positions can be retrieved with + ``data_dict`` and data with interpolated ``z`` positions can be retrieved with move_data. A new JPEGSharpnessMonitor instance is created each time an action with the diff --git a/src/openflexure_microscope_server/things/settings_manager.py b/src/openflexure_microscope_server/things/settings_manager.py index dec88b3b..8ae47a8f 100644 --- a/src/openflexure_microscope_server/things/settings_manager.py +++ b/src/openflexure_microscope_server/things/settings_manager.py @@ -60,7 +60,7 @@ class SettingsManager(lt.Thing): initial_value=[], model=Sequence[str], ) - """A list of strings that are included in the "state" metadata.""" + """Keys from ``external_metadata`` that are included in the "state" metadata.""" @lt.thing_action def update_external_metadata(