Commit 5035e251 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix error cache

parent d953a079
......@@ -91,8 +91,8 @@ trait BiopetQScript extends Configurable with GatkLogging {
else Logging.addError("Parent of output dir: '" + outputDir.getParent + "' is not writeable, outputdir can not be created")
inputFiles.foreach { i =>
if (!i.file.exists()) BiopetQScript.addError(s"Input file does not exist: ${i.file}")
if (!i.file.canRead()) BiopetQScript.addError(s"Input file can not be read: ${i.file}")
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}")
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