Skip to content
Snippets Groups Projects
Commit eb5f9327 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Make outputDir always absolute

parent ee91149d
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ trait BiopetQScript extends Configurable with GatkLogging {
var outputDir: File = {
Config.getValueFromMap(globalConfig.map, ConfigValueIndex(this.configName, configPath, "output_dir")) match {
case Some(value) => new File(value.asString)
case Some(value) => new File(value.asString).getAbsoluteFile
case _ => new File(".")
}
}
......@@ -61,7 +61,7 @@ trait BiopetQScript extends Configurable with GatkLogging {
* Script from queue itself, final to force some checks for each pipeline and write report
*/
final def script() {
outputDir = config("output_dir")
outputDir = config("output_dir").asFile.getAbsoluteFile
init
biopetScript
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment