Commit a61f1bdf authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Remove .get.get

parent b4c94ee7
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment