a-r-j / graphein

Protein Graph Library
https://graphein.ai/
MIT License
994 stars 125 forks source link

Add support for PyG 2.4+ #350

Closed a-r-j closed 8 months ago

a-r-j commented 8 months ago

Reference Issues/PRs

What does this implement/fix? Explain your changes

2.4 introduced breaking changes to Data.keys and Batch.keys, replacing the attribute with a method (Data.keys()). This PR adds looseversion to select the keys based on the syntax allowed by old and new PyG versions.

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

Pull Request Checklist

sonarcloud[bot] commented 8 months 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