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

Fixed compile error

parent 6aefe25a
......@@ -19,7 +19,7 @@ case class SampleStats(genotypeStats: mutable.Map[String, mutable.Map[String, mu
for ((chr, chrMap) <- other.genotypeStats; (field, fieldMap) <- chrMap) {
if (!this.genotypeStats.contains(chr)) genotypeStats += (chr -> mutable.Map[String, mutable.Map[Any, Int]]())
val thisField = this.genotypeStats(chr).get(field)
if (thisField.isDefined) mergeStatsMap(thisField.get, fieldMap)
if (thisField.isDefined) Stats.mergeStatsMap(thisField.get, fieldMap)
else this.genotypeStats(chr) += field -> fieldMap
Supports Markdown
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