Skip to content

Commit af159f4

Browse files
committed
Checking the File type
1 parent 9577416 commit af159f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

piper.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ exonerateGtf.each { file ->
368368
}
369369

370370
simFolder = val()
371-
similarity.whenBound { file -> simFolder << file.parent }
371+
similarity.whenBound { file -> if(file instanceof File) simFolder << file.parent }
372372

373373
/*
374374
* Compute the similarity Matrix

0 commit comments

Comments
 (0)