Skip to content

Commit

Permalink
INITIALISE subworkflow corrected scoping and parameters are made more…
Browse files Browse the repository at this point in the history
… consistent (nf-core#3920)
  • Loading branch information
adamrtalbot authored Oct 10, 2023
1 parent b48a1ef commit c0f6136
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subworkflows/nf-core/initialise/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ workflow INITIALISE {
take:
version // bool
help // bool
validate_params // bool
validateParams // bool
logo // bool

main:
Expand Down Expand Up @@ -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()
}

Expand Down

0 comments on commit c0f6136

Please sign in to comment.