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

Image missing stereochemistry information when using abbreviations #2741

Closed
jblack-mestre opened this issue Jan 24, 2025 · 0 comments · Fixed by #2742
Closed

Image missing stereochemistry information when using abbreviations #2741

jblack-mestre opened this issue Jan 24, 2025 · 0 comments · Fixed by #2742
Labels
Export to SVG/PNG Bucket: Bugs related to SVG/PNG export Priority: Medium Severity: High High level visibility to the user Stereochemistry Bucket: Stereochemistry related issues User`s Feedback

Comments

@jblack-mestre
Copy link
Contributor

jblack-mestre commented Jan 24, 2025

Summary
When generating an .svg image with indigo-depict missing_stereochemistry_info.cdr, the product is missing a downward dash bond connecting to the CN. This problem doesn't happen when the CN is displayed in expanded notation.

Steps to Reproduce

  1. indigo-depict.exe missing_stereochemistry_info.cdr missing_stereochemistry_info.svg

Actual behavior
The svg image is missing a downward dash bond in the product when connecting to the CN group.
Image

Expected behavior
Indigo should display the correct steroechemistry as described in the cdxml file.
Image

Environment details:

Attachments
missing_stereochemistry_info.txt
expanded_not_missing_steroechemistry.txt

Additional context
In MoleculeRenderInternal::_prepareSGroups, the bond direction should be set when creating a new bond between the super atom and the neighboring atom.

Comment from QA:
Reproduced on Indigo Version 1.28.0-rc.3.0-gd5bcc27cb-wasm32-wasm-clang-19.0.0

jblack-mestre added a commit to mestrelab-chemoinformatics/Indigo that referenced this issue Jan 24, 2025
@AlexeyGirin AlexeyGirin added User`s Feedback Export to SVG/PNG Bucket: Bugs related to SVG/PNG export Priority: Medium Severity: High High level visibility to the user Stereochemistry Bucket: Stereochemistry related issues labels Jan 26, 2025
jblack-mestre added a commit to mestrelab-chemoinformatics/Indigo that referenced this issue Jan 31, 2025
jblack-mestre added a commit to mestrelab-chemoinformatics/Indigo that referenced this issue Jan 31, 2025
jblack-mestre added a commit to mestrelab-chemoinformatics/Indigo that referenced this issue Feb 4, 2025
jblack-mestre added a commit to mestrelab-chemoinformatics/Indigo that referenced this issue Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Export to SVG/PNG Bucket: Bugs related to SVG/PNG export Priority: Medium Severity: High High level visibility to the user Stereochemistry Bucket: Stereochemistry related issues User`s Feedback
Projects
None yet
3 participants