nextflow-io / nf-hack18

Nextflow workshop 2018 -- Training pages -> https://nextflow-io.github.io/nf-hack18/
18 stars 7 forks source link

How to remove the work directory automatically #3

Open RTewolde opened 5 years ago

apeltzer commented 5 years ago

Maybe try to use workflow.onCompleteand specify to delete the workDir then?

Not sure whether this is possible...

pditommaso commented 5 years ago

Actually there's a(n undocumented) feature to cleanup automatically the work dir adding cleanup = true in the config.

efratushava commented 4 years ago

How can I delete the empty directories left in the work_dir from within the nextflow script?

BharatPanera commented 2 years ago

https://github.com/nextflow-io/nextflow/issues/3025#issue-1301569121