From 80760a7d8fcb78acaf26cc7ac243de60aac3b1ab Mon Sep 17 00:00:00 2001 From: jaknapper Date: Tue, 24 Feb 2026 16:49:43 +0000 Subject: [PATCH] Fix docstring --- .../things/scan_workflows.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/openflexure_microscope_server/things/scan_workflows.py b/src/openflexure_microscope_server/things/scan_workflows.py index f473a99d..20a1cc65 100644 --- a/src/openflexure_microscope_server/things/scan_workflows.py +++ b/src/openflexure_microscope_server/things/scan_workflows.py @@ -245,11 +245,9 @@ class RectGridWorkflow(ScanWorkflow[SettingModelType], Generic[SettingModelType] ) -> tuple[SettingModelType, Optional[StitchingSettings]]: """Return the scan settings and the stitching settings. - - `images_dir` is used to create the CaptureParams stored in the settings model. - - The returned SettingModelType now contains param objects: - * capture_params: CaptureParams - * autofocus_params: AutofocusParams - * stack_params: StackParams (if relevant) + :param images_dir: The directory that images are to be written to. + :return: A tuple containing the settings model for this workflow and the + settings model for stitching. """ stitching_settings = self._get_stitching_settings_model() dx, dy = self._calc_displacement_from_overlap(self.overlap)