Skip to content

Commit 01007ab

Browse files
authored
Merge pull request #125 from sanger-tol/db_params
bugfix when running the pipeline on uncompressed databases
2 parents 301bcff + 127ea41 commit 01007ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subworkflows/local/input_check.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ workflow INPUT_CHECK {
4848
ch_databases = UNTAR.out.untar.concat( ch_dbs_for_untar.skip )
4949
.map { meta, db -> [ meta + [id: db.baseName], db] }
5050
.map { db_meta, db_path ->
51-
if (db_meta.type in ["blastp", "blastx"]) {
51+
if (db_meta.type in ["blastp", "blastx"] && db_path.isDirectory()) {
5252
[db_meta, file(db_path.toString() + "/${db_path.name}", checkIfExists: true)]
5353
} else {
5454
[db_meta, db_path]

0 commit comments

Comments
 (0)