1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-22 23:39:56 +00:00

fix: remove def

No idea why, must have something to do with scope.
This commit is contained in:
Moritz E. Beber 2022-10-27 11:50:47 +02:00
parent dd1a4ff158
commit e658fab430

View file

@ -151,12 +151,12 @@ workflow PROFILING {
} }
// Extract the database name to combine by. // Extract the database name to combine by.
def ch_bracken_databases = databases ch_bracken_databases = databases
.filter { meta, db -> meta['tool'] == 'bracken' } .filter { meta, db -> meta['tool'] == 'bracken' }
.map { meta, db -> [meta['db_name'], meta, db] } .map { meta, db -> [meta['db_name'], meta, db] }
// Extract the database name to combine by. // Extract the database name to combine by.
def ch_input_for_bracken = ch_kraken2_output ch_input_for_bracken = ch_kraken2_output
.map { meta, report -> [meta['db_name'], meta, report] } .map { meta, report -> [meta['db_name'], meta, report] }
.combine(ch_bracken_databases, by: 0) .combine(ch_bracken_databases, by: 0)
.multiMap { key, meta, report, db_meta, db -> .multiMap { key, meta, report, db_meta, db ->