Commit 55952141 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Adding removal of old vmem tag from resources

parent d1b10c50
......@@ -79,6 +79,8 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
coreMemory += 1.0
vmemFactor += 0.5
memoryLimit = Some(coreMemory * threads)
if (vmem.isDefined) jobResourceRequests = jobResourceRequests.filter(_ != "h_vmem=" + vmem.get)
vmem = Some((defaultCoreMemory * vmemFactor) + "G")
jobResourceRequests :+= "h_vmem=" + vmem.get
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment