Commit ddc0aa69 authored by Peter van 't Hof's avatar Peter van 't Hof

Fix scatter dir

parent 6f78cb16
......@@ -99,7 +99,13 @@ trait BiopetCommandLineFunction extends CommandLineResources { biopetFunction =>
beforeGraph()
internalBeforeGraph()
if (jobOutputFile != null) this.commandDirectory = this.jobOutputFile.getAbsoluteFile.getParentFile
if (jobOutputFile != null) {
this.commandDirectory = this.jobOutputFile.getAbsoluteFile.getParentFile
this match {
case s: ScatterGatherableFunction => s.scatterGatherDirectory = new File(this.commandDirectory, ".scatter")
case _ =>
}
}
super.freezeFieldValues()
}
......
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