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

CRDGEN-272 #92

Merged
merged 7 commits into from
Apr 27, 2021
Merged

CRDGEN-272 #92

merged 7 commits into from
Apr 27, 2021

Conversation

ZontaNicola
Copy link
Collaborator

Changed the weights a bit so that when picking the "central" ring of a system we tend to pick rings that share more atoms with other rings
also now when adding a side ring we try to align it with the already drawn ring that shares the most atoms with it

added a test

@d-b-w
Copy link
Collaborator

d-b-w commented Apr 22, 2021

@ZontaNicola -
Could you add an image to this PR that demonstrates what this accomplishes?

@d-b-w
Copy link
Collaborator

d-b-w commented Apr 26, 2021

@ZontaNicola -
Please add a test function that checks to see if there are any crossed bonds.

@ZontaNicola
Copy link
Collaborator Author

@ZontaNicola -
Could you add an image to this PR that demonstrates what this accomplishes?

perfection itself ;)
Screenshot 2021-04-27 at 11 23 16

Copy link
Collaborator

@rachelnwalker rachelnwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me! :)

@d-b-w d-b-w merged commit d7728ed into schrodinger:master Apr 27, 2021
rachelnwalker pushed a commit to rachelnwalker/coordgenlibs that referenced this pull request May 4, 2021
Changed the weights a bit so that when picking the "central" ring
of a system we tend to pick rings that share more atoms with other rings.
Since ring systems are built outwards, and the rings with the most
connections are generally "hardest", this reduces the chance of 
rings turning back on themselves.

also now when adding a side ring we try to align it with the
already drawn ring that shares the most atoms with it.
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.

3 participants