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

Enables manual set of jobOutputFile

parent 1a870a62
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab ...@@ -53,7 +53,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
override def freezeFieldValues() { override def freezeFieldValues() {
checkExecutable checkExecutable
afterGraph afterGraph
jobOutputFile = new File(firstOutput.getParent + "/." + firstOutput.getName + "." + configName + ".out") if (jobOutputFile == null) jobOutputFile = new File(firstOutput.getParent + "/." + firstOutput.getName + "." + configName + ".out")
if (threads == 0) threads = getThreads(defaultThreads) if (threads == 0) threads = getThreads(defaultThreads)
if (threads > 1) nCoresRequest = Option(threads) if (threads > 1) nCoresRequest = Option(threads)
...@@ -63,7 +63,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab ...@@ -63,7 +63,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
if (vmem.isEmpty && defaultVmem.nonEmpty) vmem = Some(defaultVmem) if (vmem.isEmpty && defaultVmem.nonEmpty) vmem = Some(defaultVmem)
} }
if (vmem != null) jobResourceRequests :+= "h_vmem=" + vmem if (vmem != null) jobResourceRequests :+= "h_vmem=" + vmem
jobName = configName + ":" + firstOutput.getName jobName = configName + ":" + (if (firstOutput != null) firstOutput.getName else jobOutputFile)
super.freezeFieldValues() super.freezeFieldValues()
} }
......
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