diff --git a/nextflow.config b/nextflow.config index c33a8f4..3cedce5 100644 --- a/nextflow.config +++ b/nextflow.config @@ -9,13 +9,6 @@ // // for further help editing this file. - -process { - withLabel:containerCPU { - container = 'workflow-template:latest' - } -} - profiles { // the "standard" profile is used implicitely by nextflow // if no other profile is given on the CLI @@ -26,6 +19,11 @@ profiles { // also adds host user to the within-container group runOptions = "--user \$(id -u):\$(id -g) --group-add 100" } + process { + withLabel:default { + container = 'workflow-template:latest' + } + } } // profile using conda environments rather than docker @@ -35,7 +33,9 @@ profiles { enabled = false } process { - conda = "environment.yaml" + withLabel:default { + conda = "environment.yaml" + } } conda { cacheDir = "" diff --git a/workflow.nf b/workflow.nf index f8b87e5..82e6e26 100644 --- a/workflow.nf +++ b/workflow.nf @@ -32,7 +32,7 @@ if(params.help) { process readSeqs { // Just write a file with sequence lengths - label "containerCPU" + label "default" input: file reads output: