streamline.utils.cleanup module
- class streamline.utils.cleanup.Cleaner(output_path, experiment_name, del_time=True, del_old_cv=True)[source]
Bases:
object
Phase 11 of STREAMLINE (Optional)- This ‘Main’ script runs Phase 11 which deletes all temporary files in pipeline output folder. This script is not necessary to run, but serves as a convenience to reduce space and clutter following a pipeline run.
Cleaner Class :param output_path: path to output directory :param experiment_name: name of experiment output folder (no spaces) :param del_time: delete individual run-time files (but save summary), default=True :param del_old_cv: delete any of the older versions of CV training and testing datasets not overwritten (preserves final training and testing datasets, default=True