Commit 4fa85007 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added extra check for forcing abolute paths for input files

parent acbbc173
......@@ -99,7 +99,8 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript =>
inputFiles.foreach { i =>
if (!i.file.exists()) Logging.addError(s"Input file does not exist: ${i.file}")
else if (!i.file.canRead) Logging.addError(s"Input file can not be read: ${i.file}")
if (!i.file.canRead) Logging.addError(s"Input file can not be read: ${i.file}")
if (!i.file.isAbsolute) Logging.addError(s"Input file should be an absulute path: ${i.file}")
}
functions.filter(_.jobOutputFile == null).foreach(f => {
......
Markdown is supported
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