Skip to content
GitLab
Menu
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
650352d4
Commit
650352d4
authored
Sep 22, 2015
by
Peter van 't Hof
Browse files
Adding classpath and memory to beforeGraph
parent
a952d8c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetJavaCommandLineFunction.scala
View file @
650352d4
...
...
@@ -31,6 +31,16 @@ trait BiopetJavaCommandLineFunction extends JavaCommandLineFunction with BiopetC
override
def
javaOpts
=
super
.
javaOpts
+
optional
(
"-Dscala.concurrent.context.numThreads="
,
threads
,
spaceSeparated
=
false
,
escape
=
false
)
override
def
beforeGraph
()
:
Unit
=
{
if
(
javaMemoryLimit
.
isEmpty
&&
memoryLimit
.
isDefined
)
javaMemoryLimit
=
memoryLimit
if
(
javaMainClass
!=
null
&&
javaClasspath
.
isEmpty
)
javaClasspath
=
JavaCommandLineFunction
.
currentClasspath
threads
=
getThreads
(
defaultThreads
)
}
/** Creates command to execute extension */
def
cmdLine
:
String
=
{
preCmdInternal
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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