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

fix: covalent bonds cannot link nodes on separate branches #408

Merged
merged 10 commits into from
Mar 28, 2023

Conversation

DaniBodor
Copy link
Collaborator

@DaniBodor DaniBodor commented Mar 27, 2023

Prior to this PR, nodes on separate chains could be considered to be covalent pairs (for "covalent" feature) and 1-3 or 1-4 pairs (for energy features), as these were all based solely on cutoff distances.
Now, the code also checks whether nodes are on the same chain or not, and only considers them bonded if they are on the same chain.

closes #407

@DaniBodor DaniBodor requested a review from gcroci2 March 27, 2023 14:03
@DaniBodor DaniBodor requested a review from gcroci2 March 28, 2023 12:40
@gcroci2 gcroci2 merged commit e47e260 into main Mar 28, 2023
@gcroci2 gcroci2 deleted the 407_avoid_interchain_covalents_dbodor branch March 28, 2023 13:28
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.

Check whether covalent bonds could exist between branches in current covalent definition
2 participants