Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename/add valence and degree methods #1975

Merged
merged 2 commits into from
May 7, 2019

Conversation

baoilleach
Copy link
Member

The motivation is discussed at openbabel/enhancement-proposals#9.

The OBAtom API was changed as follows:

  1. BOSum -> GetExplicitValence()
  2. GetValence() -> GetExplicitDegree()
  3. Added GetTotalValence() and GetTotalDegree()
  4. GetHvyValence() -> GetHvyDegree()
  5. GetHeteroValence() -> GetHeteroDegree()

(I thought I could get rid of 4 and 5 but they are widely used.)

@baoilleach baoilleach merged commit 90739b4 into openbabel:master May 7, 2019
yishutu added a commit to yishutu/openbabel that referenced this pull request Jul 8, 2019
yishutu added a commit to yishutu/openbabel that referenced this pull request Jul 8, 2019
baoilleach pushed a commit that referenced this pull request Jul 30, 2019
Make pybel compatible with #1975
yishutu added a commit to yishutu/openbabel that referenced this pull request Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant