mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 02:16:04 +00:00
Prempt centrifuge database untar crash
This commit is contained in:
parent
120382f51d
commit
622fafedc8
1 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,9 @@ workflow DB_CHECK {
|
|||
main:
|
||||
|
||||
// TODO: make database sheet check
|
||||
// Checks:
|
||||
// 1) no duplicates,
|
||||
// 2) dbs with no special arguments does not have quotes, e.g. just `,,` and NOT `,"",`
|
||||
parsed_samplesheet = DATABASE_CHECK ( dbsheet )
|
||||
.csv
|
||||
.splitCsv ( header:true, sep:',' )
|
||||
|
@ -21,7 +24,7 @@ workflow DB_CHECK {
|
|||
|
||||
ch_dbs_for_untar = parsed_samplesheet
|
||||
.branch {
|
||||
untar: it[1].toString().endsWith(".tar.gz")
|
||||
untar: it[1].toString().endsWith(".tar.gz") && it[0]['tool'] != 'centrifuge'
|
||||
skip: true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue