a-r-j / graphein

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

Remove Hydrogen isotopes in deprotonating #337

Closed Ruibin-Liu closed 8 months ago

Ruibin-Liu commented 10 months ago

Hydrogen isotopes should also be removed. Also, the documentation was old/wrong and now it is updated.

Reference Issues/PRs

NA

What does this implement/fix? Explain your changes

Removing H atoms by element_symbol == "H" doesn't remove isotopes D or T. Simply adding D and T to the list should work.

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

NA

Pull Request Checklist

Ruibin-Liu commented 10 months ago

What kinds of tests should I add?

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

a-r-j commented 9 months ago

Thanks @Ruibin-Liu ! I think the tests you've added seem sufficient to me; anything you're unhappy with?

Ruibin-Liu commented 9 months ago

Thanks @Ruibin-Liu ! I think the tests you've added seem sufficient to me; anything you're unhappy with?

I think it's good to go, but I am not sure why some checks failed.

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

a-r-j commented 8 months ago

Thanks @Ruibin-Liu ! I think the tests you've added seem sufficient to me; anything you're unhappy with?

I think it's good to go, but I am not sure why some checks failed.

Looks like there was some dependency drift. If you sync up to master I expect these tests will pass :)

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