Skip to content

Commit

Permalink
Merge pull request #3223 from nf-core/maxulysse-patch-5
Browse files Browse the repository at this point in the history
TEMPLATE: Keep pipeline name in version.yml file
  • Loading branch information
maxulysse authored Oct 15, 2024
2 parents c59965a + 18cbf05 commit f2252c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Template

- Keep pipeline name in version.yml file ([#3223](https://github.com/nf-core/tools/pull/3223))

### Download

### Linting
Expand Down
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 @@ -47,7 +47,7 @@ workflow {{ short_name|upper }} {
softwareVersionsToYAML(ch_versions)
.collectFile(
storeDir: "${params.outdir}/pipeline_info",
name: {% if is_nfcore %}'nf_core_' {% else %} '' {% endif %} + 'pipeline_software_' + {% if multiqc %} 'mqc_' {% else %} '' {% endif %} + 'versions.yml',
name: {% if is_nfcore %}'nf_core_' + {% endif %} '{{ short_name }}_software_' {% if multiqc %} + 'mqc_' {% endif %} + 'versions.yml',
sort: true,
newLine: true
).set { ch_collated_versions }
Expand Down

0 comments on commit f2252c5

Please sign in to comment.