Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Mirrors
biopet.biopet
Commits
2e7179ef
Commit
2e7179ef
authored
Apr 21, 2017
by
pjvan_thof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added scala docs
parent
0b3c1e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/CommandLineResources.scala
...scala/nl/lumc/sasc/biopet/core/CommandLineResources.scala
+7
-0
No files found.
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