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
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,9 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
override def freezeFieldValues() {
checkExecutable
afterGraph
super.freezeFieldValues()
if (jobOutputFile == null) jobOutputFile = new File(firstOutput.getParent + "/." + firstOutput.getName + "." + configName + ".out")
if (threads == 0) threads = getThreads(defaultThreads)
......@@ -62,8 +65,6 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
}
if (vmem.isDefined) jobResourceRequests :+= "h_vmem=" + vmem.get
jobName = configName + ":" + (if (firstOutput != null) firstOutput.getName else jobOutputFile)
super.freezeFieldValues()
}
protected def checkExecutable {
......
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