Skip to content

Commit be5f2e2

Browse files
authored
Merge pull request #3311 from mirpedrol/manifest_contributors
Template: Add `manifest.contributors` to `nextflow.config`
2 parents 3c17e81 + 538893c commit be5f2e2

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Remove `def` from `nextflow.config` and add `trace_report_suffix` param ([#3296](https://github.com/nf-core/tools/pull/3296))
1414
- Move `includeConfig 'conf/modules.config'` next to `includeConfig 'conf/base.config'` to not overwrite tests profiles configurations ([#3301](https://github.com/nf-core/tools/pull/3301))
1515
- Use `params.monochrome_logs` in the template and update nf-core components ([#3310](https://github.com/nf-core/tools/pull/3310))
16+
- Add `manifest.contributors` to `nextflow.config` ([#3311](https://github.com/nf-core/tools/pull/3311))
1617

1718
### Download
1819

nf_core/pipeline-template/nextflow.config

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,20 @@ dag {
274274

275275
manifest {
276276
name = '{{ name }}'
277-
author = """{{ author }}"""
277+
author = """{{ author }}""" // The author field is deprecated from Nextflow version 24.10.0, use contributors instead
278+
contributors = [
279+
// TODO nf-core: Update the field with the details of the contributors to your pipeline. New with Nextflow version 24.10.0
280+
{%- for author_name in author.split(",") %}
281+
[
282+
name: '{{ author_name }}',
283+
affiliation: '',
284+
email: '',
285+
github: '',
286+
contribution: [], // List of contribution types ('author', 'maintainer' or 'contributor')
287+
orcid: ''
288+
],
289+
{%- endfor %}
290+
]
278291
homePage = 'https://github.com/{{ name }}'
279292
description = """{{ description }}"""
280293
mainScript = 'main.nf'

0 commit comments

Comments
 (0)