mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 07:59:54 +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.
|
// 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
|
ch_input_untar = ch_dbs_for_untar.untar
|
||||||
.filter {
|
.filter { db_meta, db -> params["run_${db_meta.tool}"] }
|
||||||
params["run_${it[0]['tool']}"]
|
|
||||||
}
|
|
||||||
|
|
||||||
UNTAR (ch_input_untar)
|
UNTAR (ch_input_untar)
|
||||||
ch_versions = ch_versions.mix(UNTAR.out.versions.first())
|
ch_versions = ch_versions.mix(UNTAR.out.versions.first())
|
||||||
|
|
Loading…
Reference in a new issue