-
Notifications
You must be signed in to change notification settings - Fork 112
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
Can't render fragments with multiple external connections #2778
Labels
Milestone
Comments
jblack-mestre
added a commit
to mestrelab-chemoinformatics/Indigo
that referenced
this issue
Feb 20, 2025
jblack-mestre
added a commit
to mestrelab-chemoinformatics/Indigo
that referenced
this issue
Mar 6, 2025
7 tasks
jblack-mestre
added a commit
to mestrelab-chemoinformatics/Indigo
that referenced
this issue
Mar 7, 2025
AliaksandrDziarkach
pushed a commit
that referenced
this issue
Mar 27, 2025
Verified.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When you try to render a fragment from a CDXML file with more than 1 external connection, indigo will not render any of the connections.
Steps to Reproduce
Actual behavior

The bonds are missing between the alkane group and the OH functional groups. As a side effect, OH is turned into H2O.
(The C10H20 fragment is displaced due to a different bug #2747)
Expected behavior

Bonds are drawn between OH-C10H20-OH, as in chemdraw:
Environment details:
Attachments
multiple_external_connections.cdr.txt
Additional context
MoleculeCdxmlLoader::_parseCollections and MoleculeCdxmlLoader::_checkFragmentConnection are only coded to handle a single external connection for each fragment (possibly because it is becomes ambiguous to assign a set of external connections to a set of bonds).
The text was updated successfully, but these errors were encountered: