From b7c472bb24dad7517bf5f2c01ba606d7088d45af Mon Sep 17 00:00:00 2001 From: Julian Stirling Date: Thu, 10 Apr 2025 22:39:22 +0100 Subject: [PATCH] fix comment on number of zeros padding the scan name --- src/openflexure_microscope_server/things/smart_scan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openflexure_microscope_server/things/smart_scan.py b/src/openflexure_microscope_server/things/smart_scan.py index b4759d43..3b94d11c 100644 --- a/src/openflexure_microscope_server/things/smart_scan.py +++ b/src/openflexure_microscope_server/things/smart_scan.py @@ -331,8 +331,8 @@ class SmartScanThing(Thing): def _get_unique_scan_name_and_dir(self, scan_name: str) -> str: """Get a unique name for this scan and create a directory for it - The scan will be named `{scan_name}_000001` where the number is - zero-padded to be 6 digits long (to allow correct sorting if the + The scan will be named `{scan_name}_0001` where the number is + zero-padded to be 4 digits long (to allow correct sorting if the scans are ordered alphanumerically). Note that if you have discontinuous numbering (e.g. you've got scans