Skip to content

Commit

Permalink
Change unique operator to filter on version file contents
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-panchal committed Oct 24, 2022
1 parent 65a134a commit 38ed718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/pipeline-template/workflows/pipeline.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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')
)

//
Expand Down

0 comments on commit 38ed718

Please sign in to comment.