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
8f8b7e5e
Commit
8f8b7e5e
authored
Feb 23, 2015
by
Peter van 't Hof
Browse files
Change data to stats
parent
a531c9bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/summary/WriteSummary.scala
View file @
8f8b7e5e
...
...
@@ -108,10 +108,10 @@ class WriteSummary(val root: Configurable) extends InProcessFunction with Config
* @return
*/
def
parseSummarizable
(
summarizable
:
Summarizable
,
name
:
String
)
=
{
val
d
at
a
=
summarizable
.
summaryStats
val
st
at
s
=
summarizable
.
summaryStats
val
files
=
parseFiles
(
summarizable
.
summaryFiles
)
(
if
(
d
at
a
.
isEmpty
)
Map
[
String
,
Any
]()
else
Map
(
"stats"
->
Map
(
name
->
d
at
a
)))
++
(
if
(
st
at
s
.
isEmpty
)
Map
[
String
,
Any
]()
else
Map
(
"stats"
->
Map
(
name
->
st
at
s
)))
++
(
if
(
files
.
isEmpty
)
Map
[
String
,
Any
]()
else
Map
(
"files"
->
Map
(
name
->
files
)))
}
...
...
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