draeger-lab / ModelPolisher

ModelPolisher accesses the BiGG Models knowledgebase to annotate SBML models.
MIT License
23 stars 7 forks source link

Produce glossary only when BiGG Annotations added. #69

Closed codekaust closed 5 years ago

codekaust commented 5 years ago

Glossary should be produced only when BiGG Annotations are added, because otherwise the the output glosaary will be empty and the code can produce Null Pointer exception also.

codekaust commented 5 years ago

Rather than not producing glossary, just add null-checks in getGlossary method of class ModelPolisher.