a-r-j / graphein

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

Fix cluster file loading bug in `pdb_data.py` #396

Closed amorehead closed 6 months ago

amorehead commented 6 months ago

Reference Issues/PRs

Fixes a cluster file loading bug in pdb_data.py,

What does this implement/fix? Explain your changes

The PDBManager's from_fasta() function already prefixes its input filename argument with self.root_dir /, so one needs to remove this prefix in functions that call from_fasta() (to avoid a double prefix that causes a file not found error).

What testing did you do to verify the changes in this PR?

I tested this change locally.

Pull Request Checklist

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud