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

Triple bonds are bent near rings #185

Open
xavierholt opened this issue May 7, 2024 · 2 comments
Open

Triple bonds are bent near rings #185

xavierholt opened this issue May 7, 2024 · 2 comments

Comments

@xavierholt
Copy link

There's a rendering inconsistency where triple bonds that appear before a ring in the input SMILES are drawn bent relative to the preceding bond, whereas triple bonds appearing after a ring are (correctly, I believe) shown as colinear. For example (the nitrogen doesn't affect things - it's simply to distinguish the branches):

C#Cc1ccccn1C#C
Screen Shot 2024-05-07 at 11 31 14 AM

Playing around with this a little further, I think the straightness check is off by one atom. Adding a couple more carbons to the previous example shows that the junction after the triple bond junction is drawn as straight when it shouldn't be:

CCC#Cc1ccccn1C#CCC
Screen Shot 2024-05-07 at 11 31 19 AM
@xavierholt
Copy link
Author

The "lightning bolt" pattern after the triple bond in my second example appears to be a separate (but maybe related?) issue: #82.

@xavierholt
Copy link
Author

And my report here is a duplicate of #39...

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

No branches or pull requests

1 participant