-
Notifications
You must be signed in to change notification settings - Fork 33
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
Non sanitize draw #23
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…the aromatic and single-double bonds as present in the graph.
…ome of the stereoinfo (_CIPCode I think). Solution is a draft. It needs better thought for how and when to update the stereoinfo, as editing elsewhere in the molecule can change the CIP priority.
…ling of E/Z and double-bonds
… Seems to work, but all templates are not exposed in GUI
…illed menu. there's a bug, if the molecule object have several objects, they are deleted when adding to a bond or atom (GetOwningMol gets only mol, not object?)
…es still seem to get sanitized, at least they turn aromatic when addin the next template to either bond or atom.
…bridised. Maybe the problem is really how many implicit hydrogens are available at each atom in the bond? e.g. for the CN additon problem the N only has one, which determines what template can really be used?
…r carboxylic acid
This was referenced Jul 27, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Major update of the drawing stack.
The bug with double bonds shifting and stereo deptictions of E/Z necessitated some deep changes in the way the drawing works. Things are no longer sanitized or prepared when drawing, so all fixed must be done to the actual mol object. The drawcode then depicts the graph more thruthfully e.g. with aromatic bonds if they are so, or the true single and double bond. Theres now an option to clean up the chemistry of the molecule (SanitizeMol), with and optional kekulization afterwards.
The template system thus also needed changes and was redesigned to something more expandable via reaction SMARTS and SMILES.
Also some minor bug fixes.