Skip to content

Commit

Permalink
bugfix: only use the CLI params if the samplesheet is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Oct 19, 2022
1 parent 21d4f15 commit 93f70c2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions subworkflows/local/params_check.nf
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ workflow PARAMS_CHECK {
] }
.set { ch_inputs }

ch_versions = ch_versions.mix(SAMPLESHEET_CHECK.out.versions.first())
}
ch_versions = ch_versions.mix(SAMPLESHEET_CHECK.out.versions)

// Add the other input channel in, as it's expected to have all the parameters in the right order
ch_inputs = ch_inputs.mix(cli_params)
} else {
// Add the other input channel in, as it's expected to have all the parameters in the right order
ch_inputs = ch_inputs.mix(cli_params)
}

emit:
ensembl_params = ch_inputs // tuple(analysis_dir, ensembl_species_name, assembly_accession, geneset_version)
Expand Down

0 comments on commit 93f70c2

Please sign in to comment.