From 74e94ea6bc044f4e7bccf4d5fbeb419967c79d9d Mon Sep 17 00:00:00 2001 From: Annick Renevey <47788523+rannick@users.noreply.github.com> Date: Mon, 28 Aug 2023 22:06:56 +0200 Subject: [PATCH] fix channel i/o for empty channels --- subworkflows/local/starfusion_workflow.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subworkflows/local/starfusion_workflow.nf b/subworkflows/local/starfusion_workflow.nf index 4120bc79..c9ba4bf3 100644 --- a/subworkflows/local/starfusion_workflow.nf +++ b/subworkflows/local/starfusion_workflow.nf @@ -51,8 +51,8 @@ workflow STARFUSION_WORKFLOW { emit: fusions = ch_starfusion_fusions star_stats = ch_star_stats - ch_bam_sorted = ch_align - ch_bam_sorted_indexed = bam_sorted_indexed.ifEmpty(null) + ch_bam_sorted = ch_align.ifEmpty([[],[]]) + ch_bam_sorted_indexed = bam_sorted_indexed.ifEmpty([[],[],[]]) versions = ch_versions.ifEmpty(null) }