Skip to content

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

Merged
egonw merged 1 commit into
mainfrom
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 into
mainfrom
patch/fix-chair-stereo-reading

Conversation

@johnmay

@johnmay johnmay commented Jun 25, 2025

Copy link
Copy Markdown
Member

…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
@fbaensch-beilstein

Copy link
Copy Markdown
Contributor

Works fine, thanks a lot @johnmay!

@johnmay
johnmay deleted the patch/fix-chair-stereo-reading branch August 13, 2026 07:25
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