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

Ensure correct stereo consistency (Fix #812) #813

Merged
merged 2 commits into from
Feb 3, 2022
Merged

Ensure correct stereo consistency (Fix #812) #813

merged 2 commits into from
Feb 3, 2022

Commits on Feb 3, 2022

  1. Better state management for stereochemistry. When an stereo element i…

    …s added to a molecule it's atom/bond components are remapped to the internal AtomRef/BondRef of the molecule in question. This ensure any future actions such as swapping and atom for another work correctly. This is now more robust and we get an error if we try to add stereochemistry that includes atom/bonds not in this molecule - this makes sense.
    johnmay committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    8d61e88 View commit details
    Browse the repository at this point in the history
  2. An unexpected consequence is some miss-use of the partition molecules…

    … function in the structure diagram generator. This
    
    is a bit of a missue but reasonable - we now need check if the stereochemistry has not be split between two molecules.
    We should also do the same of Sgroups (issue openned).
    johnmay committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    c6db7a3 View commit details
    Browse the repository at this point in the history