Skip to content

Commit

Permalink
Merge pull request #107 from nf-core/fix-falsely-required-parameters
Browse files Browse the repository at this point in the history
Fix falsely required parameters
  • Loading branch information
nictru authored Apr 2, 2024
2 parents d950657 + 0ee988b commit 84eb20b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ workflow NFCORE_CIRCRNA {
// WORKFLOW: Run nf-core/circrna workflow
//
ch_samplesheet = Channel.fromSamplesheet("input")
ch_phenotype = Channel.value([[id: "phenotype"], file(params.phenotype, checkIfExists:true)])
ch_fasta = Channel.value([[id: "fasta"], file(params.fasta, checkIfExists:true)])
ch_gtf = Channel.value([[id: "gtf"], file(params.gtf, checkIfExists:true)])
ch_mature = Channel.value([[id: "mature"], file(params.mature, checkIfExists:true)])
ch_species = Channel.value(params.species_id)
ch_mature = params.module.split(',').contains('mirna_prediction') ? Channel.value([[id: "mature"], file(params.mature, checkIfExists:true)]) : Channel.empty()
ch_phenotype = params.module.split(',').contains('differential_expression') ? Channel.value([[id: "phenotype"], file(params.phenotype, checkIfExists:true)]) : Channel.empty()
ch_species = params.module.split(',').contains('differential_expression') ? Channel.value(params.species_id) : Channel.empty()

CIRCRNA (
ch_samplesheet,
Expand Down

0 comments on commit 84eb20b

Please sign in to comment.