Commit 5d8fb79d authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

skip canRead when file does not exist

parent 5f7b2cbe
......@@ -92,7 +92,7 @@ trait BiopetQScript extends Configurable with GatkLogging {
inputFiles.foreach { i =>
if (!i.file.exists()) Logging.addError(s"Input file does not exist: ${i.file}")
if (!i.file.canRead()) Logging.addError(s"Input file can not be read: ${i.file}")
else if (!i.file.canRead()) Logging.addError(s"Input file can not be read: ${i.file}")
}
reportClass.foreach(add(_))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment