MEGA-GO / MegaGO

Calculate semantic distance for sets of Gene Ontology terms
MIT License
5 stars 2 forks source link

Fix DivisionByZero error #21

Closed pverscha closed 4 years ago

pverscha commented 4 years ago

Sometimes a DivisionByZero error might occur on line 106 in the megago.py file. This happens if we try to compute the BMA-score for two empty lists, and can be relatively easy fixed.