Skip to content

Fix some corner cases in reading of stereochemistry from chair projec…#1192

Merged
egonw merged 1 commit intomainfrom
patch/fix-chair-stereo-reading
Jun 25, 2025
Merged

Fix some corner cases in reading of stereochemistry from chair projec…#1192
egonw merged 1 commit intomainfrom
patch/fix-chair-stereo-reading

Conversation

@johnmay
Copy link
Copy Markdown
Member

@johnmay johnmay commented Jun 25, 2025

…tions. Some chairs may be drawn with horizontal bonds the interpretation of which depends where on the ring we are.

We now pass in the central point of the connected ring atoms to know which way (up or down) we should assign the atom. We also improve the interpretation of angled chairs.

Fixes #1191

…tions. Some chairs may be drawn with horizontal bonds the interpretation of which depends where on the ring we are.

We now pass in the central point of the connected ring atoms to know which way (up or down) we should assign the atom.
We also improve the interpretation of angled chairs.
@sonarqubecloud
Copy link
Copy Markdown

@egonw egonw merged commit 0a47cf3 into main Jun 25, 2025
9 of 11 checks passed
@fbaensch-beilstein
Copy link
Copy Markdown
Contributor

Works fine, thanks a lot @johnmay!

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.

Different stereochemistry in tilted sugar (chair conformation)

3 participants