What does this implement/fix? Explain your changes
We add the possibility to add metadata as part of the pdb manager, for example ec number, uniprot id or cath code and also filter by these.
Also adds option to download pdb data in mmcif and bcif format.
Also change a few pandas commands to satisfy deprecation warnings.
What testing did you do to verify the changes in this PR?
The change is made in a backward-compatible way; all old options and tests still run, but one can pass in new labels to enable that new option.
Pull Request Checklist
[x] Added a note about the modification or contribution to the ./CHANGELOG.md file (if applicable)
[ ] Added appropriate unit test functions in the ./graphein/tests/* directories (if applicable)
[ ] Modify documentation in the corresponding Jupyter Notebook under ./notebooks/ (if applicable)
[ ] Ran python -m py.test tests/ and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., python -m py.test tests/protein/test_graphs.py)
[ ] Checked for style issues by running black . and isort .
What does this implement/fix? Explain your changes
We add the possibility to add metadata as part of the pdb manager, for example ec number, uniprot id or cath code and also filter by these.
Also adds option to download pdb data in mmcif and bcif format.
Also change a few pandas commands to satisfy deprecation warnings.
What testing did you do to verify the changes in this PR?
The change is made in a backward-compatible way; all old options and tests still run, but one can pass in new labels to enable that new option.
Pull Request Checklist
./CHANGELOG.md
file (if applicable)./graphein/tests/*
directories (if applicable)./notebooks/
(if applicable)python -m py.test tests/
and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g.,python -m py.test tests/protein/test_graphs.py
)black .
andisort .