From d8ea2398921d84bf6b8a2ad7a12df4734832a3fb Mon Sep 17 00:00:00 2001 From: nservant <nicolas.servant@curie.fr> Date: Fri, 6 May 2022 17:36:14 +0200 Subject: [PATCH] fix bug in prepare genome --- subworkflows/local/prepare_genome.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subworkflows/local/prepare_genome.nf b/subworkflows/local/prepare_genome.nf index d9ee282..dd9dd29 100644 --- a/subworkflows/local/prepare_genome.nf +++ b/subworkflows/local/prepare_genome.nf @@ -26,7 +26,7 @@ workflow PREPARE_GENOME { }else{ Channel.fromPath( params.bwt2_index , checkIfExists: true) .ifEmpty { exit 1, "Genome index: Provided index not found: ${params.bwt2_index}" } - .into { ch_index } + .set { ch_index } } //*************************************** @@ -39,7 +39,7 @@ workflow PREPARE_GENOME { ch_versions = ch_versions.mix(CUSTOM_GETCHROMSIZES.out.versions) }else{ Channel.fromPath( params.chromosome_size , checkIfExists: true) - .into {ch_chromsize} + .set {ch_chromsize} } //*************************************** -- GitLab