From dc886dd960067aa9f740a65a8dae51767054af10 Mon Sep 17 00:00:00 2001 From: lauraporta Date: Tue, 26 Nov 2024 16:35:07 +0000 Subject: [PATCH] Reduce min sessions --- calcium_imaging_automation/core/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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