fix comment on number of zeros padding the scan name

This commit is contained in:
Julian Stirling 2025-04-10 22:39:22 +01:00
parent 31c768c12a
commit b7c472bb24

View file

@ -331,8 +331,8 @@ class SmartScanThing(Thing):
def _get_unique_scan_name_and_dir(self, scan_name: str) -> str: 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 """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 The scan will be named `{scan_name}_0001` where the number is
zero-padded to be 6 digits long (to allow correct sorting if the zero-padded to be 4 digits long (to allow correct sorting if the
scans are ordered alphanumerically). scans are ordered alphanumerically).
Note that if you have discontinuous numbering (e.g. you've got scans Note that if you have discontinuous numbering (e.g. you've got scans