unravel.utilities.clean_tif_dirs module#
Use utils_clean_tifs
(clean_tiffs
) from UNRAVEL to clean directories w/ tif series.
- Tif directory clean up involves:
Finding .tif or .ome.tif files in the tif directory
Moving subdirectories to parent dir
Moving non-TIF files to parent dir
Replacing spaces in TIF file names
Note
If -d is not provided, the current directory is used to search for sample?? dirs to process.
If the current dir is a sample?? dir, it will be processed.
If -d is provided, the specified dirs and/or dirs containing sample?? dirs will be processed.
If -p is not provided, the default pattern for dirs to process is ‘sample??’.
Usage:#
utils_clean_tifs -t <list of tif dir> –move [-d list of paths] [-p sample??] [-v]