movie_sorter

seas.filemanager.movie_sorter(pathlist: List[str], matchstr: Optional[str] = None, verbose: bool = True)dict[source]

Takes list of paths, sorts into experiments, and orders files by extension number. Returns dict of experiments with associated files.

Parameters

pathlist – A list of paths, generally produced by find_files.

Returns

A dict, containing top level entries representing unique results of the matchstring search, each containing a list of tif files which matched that experiment.

Return type

experiments