Open RTewolde opened 5 years ago
Maybe try to use workflow.onCompleteand specify to delete the workDir then?
workflow.onComplete
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.
cleanup = true
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
Maybe try to use
workflow.onComplete
and specify to delete the workDir then?Not sure whether this is possible...