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

Change on empty string check

parent 33a8edef
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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