From 65a134a66e15da4ffb1ebda00aa2bd64d745365f Mon Sep 17 00:00:00 2001 From: Mahesh Binzer-Panchal Date: Mon, 24 Oct 2022 14:44:26 +0000 Subject: [PATCH 1/2] Remove redudant mixing of MQC version --- nf_core/pipeline-template/workflows/pipeline.nf | 1 - 1 file changed, 1 deletion(-) diff --git a/nf_core/pipeline-template/workflows/pipeline.nf b/nf_core/pipeline-template/workflows/pipeline.nf index 370cbb77c..582f47c4a 100644 --- a/nf_core/pipeline-template/workflows/pipeline.nf +++ b/nf_core/pipeline-template/workflows/pipeline.nf @@ -107,7 +107,6 @@ workflow {{ short_name|upper }} { ch_multiqc_logo.toList() ) multiqc_report = MULTIQC.out.report.toList() - ch_versions = ch_versions.mix(MULTIQC.out.versions) } /* From 38ed7183db23a7bfc708580c8ae9736f84f60a0b Mon Sep 17 00:00:00 2001 From: Mahesh Binzer-Panchal Date: Mon, 24 Oct 2022 14:45:45 +0000 Subject: [PATCH 2/2] Change unique operator to filter on version file contents --- nf_core/pipeline-template/workflows/pipeline.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nf_core/pipeline-template/workflows/pipeline.nf b/nf_core/pipeline-template/workflows/pipeline.nf index 582f47c4a..b39148308 100644 --- a/nf_core/pipeline-template/workflows/pipeline.nf +++ b/nf_core/pipeline-template/workflows/pipeline.nf @@ -82,7 +82,7 @@ workflow {{ short_name|upper }} { ch_versions = ch_versions.mix(FASTQC.out.versions.first()) CUSTOM_DUMPSOFTWAREVERSIONS ( - ch_versions.unique().collectFile(name: 'collated_versions.yml') + ch_versions.unique{ it.text }.collectFile(name: 'collated_versions.yml') ) //