Skip to content

Commit

Permalink
instead of empty channel pass dummy tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
lescai committed Jan 14, 2024
1 parent de819a6 commit d79415d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/createpanelrefs.nf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ch_fasta = params.fasta ? Channel.fromPath(params.fasta).map {
ch_ploidy_priors = params.ploidy_priors ? Channel.fromPath(params.ploidy_priors).collect()
: Channel.empty()
ch_cnvkit_targets = params.cnvkit_targets ? Channel.fromPath(params.cnvkit_targets).map { targets -> [[id:targets.baseName],targets]}.collect()
: Channel.empty()
: Channel.value([[:],[]])

/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit d79415d

Please sign in to comment.