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
6cadcab7
Commit
6cadcab7
authored
Feb 26, 2015
by
Peter van 't Hof
Browse files
Fix add jobs to summary
parent
75029e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/summary/SummaryQScript.scala
View file @
6cadcab7
...
...
@@ -66,7 +66,7 @@ trait SummaryQScript extends BiopetQScript {
*/
def
addSummarizable
(
summarizable
:
Summarizable
,
name
:
String
,
sampleId
:
Option
[
String
],
libraryId
:
Option
[
String
])
:
Unit
=
{
if
(
libraryId
.
isDefined
)
require
(
sampleId
.
isDefined
)
// Library always require a sample
summarizables
.
get
(
(
name
,
sampleId
,
libraryId
)
).
foreach
(
summarizable
s
+=
(
name
,
sampleId
,
libraryId
)
->
_
)
summarizables
+=
(
name
,
sampleId
,
libraryId
)
->
(
summarizable
::
summarizables
.
getOrElse
(
(
name
,
sampleId
,
libraryId
)
,
Nil
)
)
}
/**
...
...
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