ohnosequences / mg7

Configurable and scalable 16S metagenomics data analysis
https://goo.gl/y3rZFD
GNU Affero General Public License v3.0
3 stars 3 forks source link

Fix frequency count calculation #125

Closed laughedelic closed 7 years ago

laughedelic commented 7 years ago

A stupid bug introduced in the refactoring process:

          val percentage: Double = absoluteCount / totalAssignedReads * 100

Just need to say explicitly that the numbers divided are Doubles, not Ints.