Skip to content

Commit

Permalink
Merge pull request #3311 from mirpedrol/manifest_contributors
Browse files Browse the repository at this point in the history
Template: Add `manifest.contributors` to `nextflow.config`
  • Loading branch information
mirpedrol authored Dec 3, 2024
2 parents 3c17e81 + 538893c commit be5f2e2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Remove `def` from `nextflow.config` and add `trace_report_suffix` param ([#3296](https://github.com/nf-core/tools/pull/3296))
- 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))
- Use `params.monochrome_logs` in the template and update nf-core components ([#3310](https://github.com/nf-core/tools/pull/3310))
- Add `manifest.contributors` to `nextflow.config` ([#3311](https://github.com/nf-core/tools/pull/3311))

### Download

Expand Down
15 changes: 14 additions & 1 deletion nf_core/pipeline-template/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,20 @@ dag {

manifest {
name = '{{ name }}'
author = """{{ author }}"""
author = """{{ author }}""" // The author field is deprecated from Nextflow version 24.10.0, use contributors instead
contributors = [
// TODO nf-core: Update the field with the details of the contributors to your pipeline. New with Nextflow version 24.10.0
{%- for author_name in author.split(",") %}
[
name: '{{ author_name }}',
affiliation: '',
email: '',
github: '',
contribution: [], // List of contribution types ('author', 'maintainer' or 'contributor')
orcid: ''
],
{%- endfor %}
]
homePage = 'https://github.com/{{ name }}'
description = """{{ description }}"""
mainScript = 'main.nf'
Expand Down

0 comments on commit be5f2e2

Please sign in to comment.