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

Moved freeze function

parent 28f634c1
Branches
Tags
No related merge requests found
...@@ -51,6 +51,9 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab ...@@ -51,6 +51,9 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
override def freezeFieldValues() { override def freezeFieldValues() {
checkExecutable checkExecutable
afterGraph afterGraph
super.freezeFieldValues()
if (jobOutputFile == null) 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)
...@@ -62,8 +65,6 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab ...@@ -62,8 +65,6 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
} }
if (vmem.isDefined) jobResourceRequests :+= "h_vmem=" + vmem.get if (vmem.isDefined) jobResourceRequests :+= "h_vmem=" + vmem.get
jobName = configName + ":" + (if (firstOutput != null) firstOutput.getName else jobOutputFile) jobName = configName + ":" + (if (firstOutput != null) firstOutput.getName else jobOutputFile)
super.freezeFieldValues()
} }
protected def checkExecutable { protected def checkExecutable {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment