You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resume not working from modules where markersheet is collected #80
Good catch. I wonder if there's a way to inject that generated csv file into the dataflow graph such that Nextflow recognizes it as a formal input to the module and therefore includes it in the cache key.
On investigating further, it looks like the problem is that each time collectFile is called without an explicit storeDir argument, the unique ${workDir}/tmp/... subdirectory that's created for it is different on each run even with -resume. We need to figure out how to control that path (but still keep the file in a place that workDir cleanup will manage it) so it's reproducible, or maybe put the CSV processing in an actual process which I think will make it more unambiguously cacheable.
Activity
jmuhlich commentedon Mar 27, 2025
Good catch. I wonder if there's a way to inject that generated csv file into the dataflow graph such that Nextflow recognizes it as a formal input to the module and therefore includes it in the cache key.
jmuhlich commentedon Mar 27, 2025
On investigating further, it looks like the problem is that each time
collectFileis called without an explicitstoreDirargument, the unique${workDir}/tmp/...subdirectory that's created for it is different on each run even with-resume. We need to figure out how to control that path (but still keep the file in a place that workDir cleanup will manage it) so it's reproducible, or maybe put the CSV processing in an actualprocesswhich I think will make it more unambiguously cacheable.