Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
c47680a6
Commit
c47680a6
authored
9 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
change var name
parent
de4597aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala
+2
-2
2 additions, 2 deletions
...umc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala
with
2 additions
and
2 deletions
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala
+
2
−
2
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment