mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-12-22 11:08:17 +00:00
style: use parameters for filter closure
This commit is contained in:
parent
aa2410a871
commit
b90433f3c2
1 changed files with 1 additions and 3 deletions
|
@ -41,9 +41,7 @@ workflow DB_CHECK {
|
|||
|
||||
// Filter the channel to untar only those databases for tools that are selected to be run by the user.
|
||||
ch_input_untar = ch_dbs_for_untar.untar
|
||||
.filter {
|
||||
params["run_${it[0]['tool']}"]
|
||||
}
|
||||
.filter { db_meta, db -> params["run_${db_meta.tool}"] }
|
||||
|
||||
UNTAR (ch_input_untar)
|
||||
ch_versions = ch_versions.mix(UNTAR.out.versions.first())
|
||||
|
|
Loading…
Reference in a new issue