Thomas Krannich
08/04/2025, 1:24 PM71 "tabix": "1.19.1" 71 "tabix": "1.19.1"
72 }, 72 },
73 "Workflow": { 73 "Workflow": {
! 74 "rki-mf1/omnifluss": ! 74 "rki-mf1/omnifluss":
"v1.0dev" "v0.2.0"
75 } 75 }
i.e. it is a difference in the manifest's version of the workflow.
I am using the new nf-core template's asserts.
{assert workflow.success},
{assert snapshot(
// Number of successful tasks
workflow.trace.succeeded().size(),
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we test pipelines on multiple Nextflow versions
removeNextflowVersion("$outputDir/pipeline_info/omnifluss_software_mqc_versions.yml"),
// All stable path name, with a relative path
stable_name,
// All files with stable contents
stable_path.isEmpty() ? 'No stable content' : stable_path,
// All bam files
//bam_files.isEmpty() ? 'No BAM files' : bam_files.collect { file -> file.getName() + ":md5," + bam(file.toString()).readsMD5 },
// All vcf files
//bam_files.isEmpty() ? 'No VCF files' : vcf_files.collect { file -> file.getName() + ":md5," + path(file.toString()).vcf.variantsMD5 }
).match("Snapshot - Stable content")
},
I do not understand at what point the version is written into the file? Or am I looking at the wrong section?
Is this intended by the way? Hard to believe I have to update the version in the snapshots every time I bump a pipeline version. Or rather ignore the version in the snapshots somehow?Simon Pearce
08/04/2025, 1:43 PMnf-core pipelines bump-version I think it should update the snapshots too.Maxime Garcia
08/05/2025, 7:35 AMMaxime Garcia
08/05/2025, 7:36 AM