Skip to content

Commit

Permalink
Merge pull request nf-core#3356 from mirpedrol/fix-include-modules-co…
Browse files Browse the repository at this point in the history
…nfig

fix including modules.config
  • Loading branch information
mirpedrol authored Dec 13, 2024
2 parents 06980d4 + a2c2339 commit 6eaa998
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### Modules

- fix including modules.config ([#3356](https://github.com/nf-core/tools/pull/3356))

### Subworkflows

### General
Expand Down
10 changes: 5 additions & 5 deletions nf_core/pipeline-template/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ params {
includeConfig 'conf/base.config'
{%- else %}

{% if modules -%}
// Load modules.config for DSL2 module specific options
includeConfig 'conf/modules.config'
{%- endif %}

process {
// TODO nf-core: Check the defaults for all processes
cpus = { 1 * task.attempt }
Expand Down Expand Up @@ -336,3 +331,8 @@ validation {
}{% endif %}
}
{%- endif %}

{% if modules -%}
// Load modules.config for DSL2 module specific options
includeConfig 'conf/modules.config'
{%- endif %}

0 comments on commit 6eaa998

Please sign in to comment.