From b5893bc29c60044817cdf39a493aadea40ec0b4b Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Tue, 13 May 2025 12:34:50 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Julian Stirling --- src/openflexure_microscope_server/things/smart_scan.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/openflexure_microscope_server/things/smart_scan.py b/src/openflexure_microscope_server/things/smart_scan.py index 38e5374a..4b9b3b81 100644 --- a/src/openflexure_microscope_server/things/smart_scan.py +++ b/src/openflexure_microscope_server/things/smart_scan.py @@ -1040,9 +1040,8 @@ class SmartScanThing(Thing): Note that as this is a thing_action it needs the logger passed as a variable if called from another thing action """ - json_fname = "scan_data.json" images_folder = self.images_dir_for_scan(scan_name=scan_name) - json_fpath = os.path.join(images_folder, json_fname) + json_fpath = os.path.join(images_folder, SCAN_DATA_FILENAME) if self.stitch_tiff: tiff_arg = "--stitch_tiff"