experiment_sorter¶
-
seas.filemanager.experiment_sorter(folder_path: str, experimentstr: Optional[str] = None, verbose: bool = True) → dict[source]¶ Finds all files associated with an experiment in a particular folder, organizes them by filetype: movie files, processed files, metadata files.
- Parameters
folder_path – A path specifying which folder to search for experiment files within.
experimentstr – The matchstring to search for relevant paths with.
verbose – Whether to produce verbose output.
- Returns
A dictionary containing all the types of relevant files found for the given experiment specified by experimentstr.
- Return type
experiment_files