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:
Making this a Python package using Poetry, allowing for protein_mpnn_utils.py to be imported in the helper scripts
Splitting up protein_mpnn_utils.py into utils.py and models.py
Auto-formatting the code with Black
Resolving all other pylint warnings, such as unused variables and imports
Cleanup a few issues detected by
pylint
and refactoredparse_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:
protein_mpnn_utils.py
to be imported in the helper scriptsprotein_mpnn_utils.py
intoutils.py
andmodels.py
pylint
warnings, such as unused variables and imports