Commit 8beccf35 authored by Sander Bollen's avatar Sander Bollen

Merge branch 'fix-BIOPET-353' into 'develop'

Fixing BIOPET-353



See merge request !475
parents 6f32526d c1fb2254
......@@ -111,7 +111,8 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript =>
functions.filter(_.jobOutputFile == null).foreach(f => {
try {
f.jobOutputFile = new File(f.firstOutput.getAbsoluteFile.getParent, "." + f.firstOutput.getName + "." + f.getClass.getSimpleName + ".out")
val className = if (f.getClass.isAnonymousClass) f.getClass.getSuperclass.getSimpleName else f.getClass.getSimpleName
f.jobOutputFile = new File(f.firstOutput.getAbsoluteFile.getParent, "." + f.firstOutput.getName + "." + className + ".out")
} catch {
case e: NullPointerException => logger.warn(s"Can't generate a jobOutputFile for $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