owlcollab / owltools

OWLTools
BSD 3-Clause "New" or "Revised" License
108 stars 33 forks source link

Add codes that check the return value of getGoSubOntology in the initialization routine of aspectMap. #239

Closed yy20716 closed 6 years ago

yy20716 commented 6 years ago

This patch is built for covering this issue, i.e. the current Owltools produces incorrect aspects in predicted GAFs when the values of relevant obo-namespace tags do not exist. To solve this issue, I added codes that check the return value of getGoSubOntology before using that value as key, so that the generation of aspectMap with null keys can be avoided.