Skip to content

Commit 0d33739

Browse files
authored
Move modules config import after base.config
1 parent 41b4516 commit 0d33739

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nf_core/pipeline-template/nextflow.config

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ params {
7676
includeConfig 'conf/base.config'
7777
{%- else %}
7878

79+
{% if modules -%}
80+
// Load modules.config for DSL2 module specific options
81+
includeConfig 'conf/modules.config'
82+
{%- endif %}
83+
7984
process {
8085
// TODO nf-core: Check the defaults for all processes
8186
cpus = { 1 * task.attempt }
@@ -316,8 +321,3 @@ validation {
316321
}{% endif %}
317322
}
318323
{%- endif %}
319-
320-
{% if modules -%}
321-
// Load modules.config for DSL2 module specific options
322-
includeConfig 'conf/modules.config'
323-
{%- endif %}

0 commit comments

Comments
 (0)