gbouras13 / pharokka

fast phage annotation program
MIT License
137 stars 13 forks source link

Wrong attribute - PyHMMER module #328

Closed valentynbez closed 5 months ago

valentynbez commented 5 months ago

During PyHMMER run code refers to hit.phrog attribute. pyhmmer.plan7.Hit object doesnt have attribute phrog, therefore code crashes. To get the phrog name and compare it hit.name.decode() should be used. This was a tricky one as it only happened during a very big annotation job.

gbouras13 commented 5 months ago

Thanks for spotting the bug @valentynbez and for the PR - just checking, this would be for v1.6.1?

valentynbez commented 5 months ago

Yes, code in these sections remained unchanged since 1.2.1. I just didn't update my environment for a long time.