dauparas / ProteinMPNN

Code for the ProteinMPNN paper
MIT License
934 stars 284 forks source link

protein_mpnn_utils.py cleanup #20

Open Seanny123 opened 2 years ago

Seanny123 commented 2 years ago

Cleanup a few issues detected by pylint and refactored parse_PDB to be more succinct. This MR does increase the requirements to Python 3.10, but I can remove the type annotations if you want more version flexibility.

I can also provide further refactorings, if desired, such as: