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

Change on empty string check

parent 33a8edef
......@@ -60,7 +60,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
if (vmem.isEmpty) {
vmem = config("vmem")
if (vmem.isEmpty && !defaultVmem.isEmpty) vmem = Some(defaultVmem)
if (vmem.isEmpty && defaultVmem.nonEmpty) vmem = Some(defaultVmem)
}
if (vmem != null) jobResourceRequests :+= "h_vmem=" + vmem
jobName = configName + ":" + firstOutput.getName
......
Markdown is supported
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