diff --git a/calcium_imaging_automation/core/reader.py b/calcium_imaging_automation/core/reader.py index 17b5e72..f0fcb3c 100644 --- a/calcium_imaging_automation/core/reader.py +++ b/calcium_imaging_automation/core/reader.py @@ -101,7 +101,7 @@ def total_objects_by_extension(self, folder: Path) -> dict: for filetype in self.file_read_pattern } - def max_session_number(self, filetype="tif", max_allowed=5) -> int: + def max_session_number(self, filetype="tif", max_allowed=1) -> int: """ Get the maximum number of sessions for each dataset based on the total number of files found in the dataset folders. By default, it searches