From c0f61367ffc61e443020303d6229e695eb5ba01b Mon Sep 17 00:00:00 2001 From: Adam Talbot <12817534+adamrtalbot@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:27:46 +0100 Subject: [PATCH] INITIALISE subworkflow corrected scoping and parameters are made more consistent (#3920) --- subworkflows/nf-core/initialise/main.nf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subworkflows/nf-core/initialise/main.nf b/subworkflows/nf-core/initialise/main.nf index 31fb1b4ccaf..12b78dbc643 100644 --- a/subworkflows/nf-core/initialise/main.nf +++ b/subworkflows/nf-core/initialise/main.nf @@ -9,7 +9,7 @@ workflow INITIALISE { take: version // bool help // bool - validate_params // bool + validateParams // bool logo // bool main: @@ -47,13 +47,13 @@ workflow INITIALISE { log.info citation // Print help message if needed - if (params.help) { + if (help) { def String command = "nextflow run ${workflow.manifest.name} --input samplesheet.csv -profile docker" log.info paramsHelp(command) System.exit(0) } - if ( params.validate_params != false ){ + if ( validateParams != false ){ validateParameters() }