draeger-lab / ModelPolisher

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

Factor out helper functions, enums and inner classes into separate classes to improve readability #77

Closed mephenor closed 4 years ago

mephenor commented 4 years ago

There are some places across the code base where cognitive overhead could be decreased by grouping functions that are spread across a class, but perform similar tasks, into a new utility class. Similarly, some inner classes or enums with fields that are initialized once and queried once afterwards could also be moved into their own class.

mephenor commented 4 years ago

Annotation handling and BiGGId creation is now properly centralized and inner classes moved out to their own proper class. I'll close this for now, as most major offenders should now be dealt with.