From cd45318be7e3dda24a8bcb0304316afd6e5462cb Mon Sep 17 00:00:00 2001 From: Dan Fornika Date: Tue, 20 Feb 2024 15:41:04 -0800 Subject: [PATCH] Update main.nf --- main.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.nf b/main.nf index f49bcf7..0f3c6fc 100644 --- a/main.nf +++ b/main.nf @@ -23,9 +23,9 @@ workflow { ]) if (params.samplesheet_input != 'NO_FILE') { - ch_assemblies = Channel.fromPath(params.samplesheet_input).splitCsv(header: true).map{ it -> [it['ID'], it['ASSEMBLY']] } + ch_assemblies = Channel.fromPath(params.samplesheet_input).splitCsv(header: true).map{ it -> [it['ID'], it['ASSEMBLY']] } } else { - ch_assemblies = Channel.fromPath( params.assembly_search_path ).map{ it -> [it.baseName.split('_')[0], it] }.unique{ it -> it[0] } + ch_assemblies = Channel.fromPath( params.assembly_search_path ).map{ it -> [it.baseName.split('_')[0], it] }.unique{ it -> it[0] } } main: