nf-hack18
nf-hack18 copied to clipboard
How to remove the work directory automatically
Maybe try to use workflow.onComplete
and specify to delete the workDir then?
Not sure whether this is possible...
Actually there's a(n undocumented) feature to cleanup automatically the work dir adding cleanup = true
in the config.
How can I delete the empty directories left in the work_dir from within the nextflow script?
https://github.com/nextflow-io/nextflow/issues/3025#issue-1301569121