macarthur-lab / matchbox

matchbox server for the Matchmaker Exchange
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Fix metrics endpoint bug: double counting some genes and phenotypes #44

Closed harindra-a closed 7 years ago

harindra-a commented 7 years ago

Fix metrics endpoint bug: double counting some genes and phenotypes. Was summing up the values (counts of the gene/phenotype that was the key) was simply counting the keys. This was sometimes giving an inflated number of genes/phenotypes for total count.