diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index d47f9a3..c8b6b4d 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -32,7 +32,7 @@ class StitchConfig: movement_interval: float = 0.001 # Seconds of motor on time frame_interval: float = 0.25 # Seconds between frame captures (settle time) settle_time: float = 0.5 # Seconds to wait after stopping - max_scan_time: float = 2400.0 # Safety timeout (5 minutes) + max_row_scan_time: float = 3000.0 # Safety timeout (50 minutes) # Scan pattern rows: int = 3 @@ -541,7 +541,7 @@ class StitchingScanner: max_no_movement = 50 while self.running and not self.paused: - if time.time() - start_time > self.config.max_scan_time: + if time.time() - start_time > self.config.max_row_scan_time: self.log("Scan timeout") break