diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Ln.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Ln.scala index 4bcaea82d707a13395406d16ad9dd46bcdf43ead..c1384da8e4e4c61e543227d88161bc467bb5b138 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Ln.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Ln.scala @@ -33,7 +33,8 @@ class Ln(val root: Configurable) extends InProcessFunction with Configurable { var relative: Boolean = true override def freezeFieldValues(): Unit = { - jobOutputFile = new File(out.getParent + File.separator + "." + out.getName + "." + this.analysisName + ".out") + val outLog: String = ".%s.%s.out".format(out.getName, analysisName) + jobOutputFile = new File(out.getAbsoluteFile.getParentFile, outLog) super.freezeFieldValues() }