Closed chaitjo closed 1 year ago
Also added a random addition to a dict mapping 3 letter AA to 1 letter.
LGTM, thanks @chaitjo! Would you be able to add a short note to the changelog?
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Done!
What does this implement/fix? Explain your changes
Previously, the id for the pyg data object would become the entire (possibly length) path to the pdb file OR only the filename + chain ID. However, in the later case, the '.pdb' extension would still show up under the id field.
This commit fixes the above to be consistent and to not contain '.pdb' extension in the pyg data id.
What testing did you do to verify the changes in this PR?
I have made this fix during day-to-day work with graphein when loading pyg data from my own PDB files which are stored locally.