biolink / ontobio

python library for working with ontologies and ontology associations
https://ontobio.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
119 stars 30 forks source link

Gaf 2.2 writing enabled in ontobio-parse-assocs reveals lack of test and bug in gaf 2.2 writing #499

Closed dougli1sqrd closed 3 years ago

dougli1sqrd commented 3 years ago

Now that ontobio-parse-assocs can specify file format version numbers, a very embarrassing bug due to a typo is revealed in the gaf 2.2 writing code.

Additionally, looking for a test that would missed this error, I found there there weren't any tests for writing gaf 2.2. It seems as if none were written, to my own embarrassment.

This should be fixed immediately, as the current master ontobio-parse-assocs conversion to gaf 2.2 is currently broken with this bug.