Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
c47680a6
Commit
c47680a6
authored
Mar 25, 2015
by
Peter van 't Hof
Browse files
change var name
parent
de4597aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala
View file @
c47680a6
...
...
@@ -39,7 +39,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
protected
val
defaultCoreMemory
:
Double
=
1.0
var
vmemFactor
:
Double
=
config
(
"vmem_factor"
,
default
=
1.5
)
var
res
s
Factor
:
Double
=
config
(
"res
s
_factor"
,
default
=
1.2
)
var
res
ident
Factor
:
Double
=
config
(
"res
ident
_factor"
,
default
=
1.2
)
private
var
coreMemory
:
Double
=
_
...
...
@@ -69,7 +69,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
else
memoryLimit
=
Some
(
coreMemory
*
threads
)
if
(
config
.
contains
(
"resident_limit"
))
residentLimit
=
config
(
"resident_limit"
)
else
residentLimit
=
Some
((
coreMemory
+
(
0.5
*
retry
))
*
res
s
Factor
)
else
residentLimit
=
Some
((
coreMemory
+
(
0.5
*
retry
))
*
res
ident
Factor
)
if
(!
config
.
contains
(
"vmem"
))
vmem
=
Some
((
coreMemory
*
(
vmemFactor
+
(
0.5
*
retry
)))
+
"G"
)
if
(
vmem
.
isDefined
)
jobResourceRequests
:+=
"h_vmem="
+
vmem
.
get
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment