Skip to content

Commit d89b4cc

Browse files
author
Maxime Borry
committed
transforms to value channel with .first()
1 parent fea3249 commit d89b4cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3117,7 +3117,7 @@ if (params.run_metagenomic_screening && params.database.endsWith(".tar.gz") && p
31173117
}
31183118

31193119
} else if (! params.database.endsWith(".tar.gz") && params.run_metagenomic_screening && params.metagenomic_tool == 'kraken') {
3120-
ch_krakendb = Channel.fromPath(params.database)
3120+
ch_krakendb = Channel.fromPath(params.database).first()
31213121
} else {
31223122
ch_krakendb = Channel.empty()
31233123
}

0 commit comments

Comments
 (0)