Johannes Kersting
07/02/2025, 12:07 PM// Collate and save software versions
softwareVersionsToYAML(ch_versions)
.collectFile(
storeDir: "${params.outdir}/pipeline_info",
name: 'nf_core_' + 'diseasemodulediscovery_software_' + 'mqc_' + 'versions.yml',
sort: true,
newLine: true
).set { ch_collated_versions }
I noticed, that this can lead to inconsistencies when used with the resume function.
In the following scenario:
⢠pipeline runs successfully with all steps included
⢠the result directory is then deleted (but not work)
⢠the pipeline runs again but only with a subset of steps
⢠and then again with resume using all steps
the software versions of processes omitted in the second run are then not listed in the multiqc report
This is an edge case, but could be prevented using cache: false in the collectFile step.Johannes Kersting
07/02/2025, 12:09 PMPhil Ewels
07/02/2025, 1:18 PMPhil Ewels
07/02/2025, 1:19 PMtopic channels and eval), but I think that this statement is unaffected š¤ So definitely worth flagging šš»Johannes Kersting
07/02/2025, 1:42 PM