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
a61f1bdf
Commit
a61f1bdf
authored
Jan 05, 2017
by
Peter van 't Hof
Browse files
Remove .get.get
parent
b4c94ee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/bamstats/BamStats.scala
View file @
a61f1bdf
...
...
@@ -107,7 +107,7 @@ object BamStats extends ToolCommand {
val
totalStats
=
stats
.
toSummaryMap
val
statsMap
=
Map
(
"total"
->
totalStats
,
"contigs"
->
contigsFutures
.
map
(
x
=>
x
.
_1
->
x
.
_2
.
value
.
get
.
get
.
toSummaryMap
).
toMap
"contigs"
->
contigsFutures
.
map
(
x
=>
x
.
_1
->
Await
.
result
(
x
.
_2
,
Duration
.
Zero
)
.
toSummaryMap
).
toMap
)
statsWriter
.
println
(
ConfigUtils
.
mapToJson
(
statsMap
).
nospaces
)
statsWriter
.
close
()
...
...
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