goodarzilab / pypage

python implementation of the PAGE algorithm
MIT License
8 stars 2 forks source link

Clean up the code in read annotation file in GeneOntology #36

Open noamteyssier opened 2 years ago

noamteyssier commented 2 years ago

This method is fairly large and uncommented. Could be split up into a few different methods or wrapped into a separate class to streamline GeneOntology

We should also write explicit tests for gzip/txt (since I found a bug in the gzip IO section) (fixed in 81419621d99af80454883de743c7a9f51d67e66c)

noamteyssier commented 2 years ago

added an explicit test for this in 62e2c2ed90e8e19dcbd57a28ed48c4914e5dd3ac