a-r-j / graphein

Protein Graph Library
https://graphein.ai/
MIT License
1.03k stars 131 forks source link

Fixed dssp for local pdbs #172

Closed OliverT1 closed 2 years ago

OliverT1 commented 2 years ago

Fixes #171

Added .pdb file extension when checking for a local copy of protein file in add_dssp_df function. Allows use of local pdb files for calculation of DSSP features.

Tested for local files not found on the PDB, as well as downloaded PDB files.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

a-r-j commented 2 years ago

Thanks for the PR, Ollie! Will merge once tests pass :)