woom.workflow.Workflow.clean#
- Workflow.clean(submission_dirs=True, log_files=True, run_dirs=False, artifacts=False, extra_files=None, dry=False)[source]#
Remove working files and directories
- Parameters:
subssion_dirs (bool) – Remove the submission directories. They are sub-directories of the workflow directory.
log_files (bool) – Remove the main log file and its backups.
run_dirs (bool) – Remove the run directory. Since the may be overriden by the user, be cautious!
artifacts (bool) – Remove files declared as artifacts.
extra_files (None, list) – A list of file or glob patterns to remove.