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
2e7179ef
Commit
2e7179ef
authored
Apr 21, 2017
by
pjvan_thof
Browse files
Added scala docs
parent
0b3c1e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/CommandLineResources.scala
View file @
2e7179ef
...
...
@@ -22,9 +22,16 @@ import org.broadinstitute.gatk.queue.function.CommandLineFunction
*/
trait
CommandLineResources
extends
CommandLineFunction
with
Configurable
{
/**
* This value is overruling threads method when this is set.
* This can be used to limit the number of threads on a global level.
*/
lazy
val
maxThreads
:
Option
[
Int
]
=
config
(
"max_threads"
)
/** To set an other default threads this method need to be override */
def
defaultThreads
=
1
/** This method will get and set the cores requested */
final
def
threads
=
nCoresRequest
match
{
case
Some
(
i
)
=>
i
case
_
=>
...
...
Write
Preview
Markdown
is supported
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