Skip to content

Commit

Permalink
Reduce min sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraporta committed Nov 26, 2024
1 parent 4720086 commit dc886dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calcium_imaging_automation/core/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc886dd

Please sign in to comment.