From 1aaac5f163764b402cfd24e10afac65b2dadf99c Mon Sep 17 00:00:00 2001 From: Nico Trummer <52698566+nictru@users.noreply.github.com> Date: Sat, 28 Dec 2024 16:14:14 +0000 Subject: [PATCH] Fix problematic star index channel structure if params.star_index is provided --- workflows/scrnaseq.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/scrnaseq.nf b/workflows/scrnaseq.nf index 0481b988..8fa3c317 100644 --- a/workflows/scrnaseq.nf +++ b/workflows/scrnaseq.nf @@ -87,7 +87,7 @@ workflow SCRNASEQ { //star params star_index = star_index ? file(star_index, checkIfExists: true) : null - ch_star_index = star_index ? Channel.of( [[id: star_index.baseName], star_index] ) : [] + ch_star_index = star_index ? Channel.value( [[id: star_index.baseName], star_index] ) : [] star_feature = params.star_feature //cellranger params