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

It's wrong for 'N=C(O)CC' #152

Open
ZhitaoTian opened this issue Sep 21, 2022 · 4 comments
Open

It's wrong for 'N=C(O)CC' #152

ZhitaoTian opened this issue Sep 21, 2022 · 4 comments

Comments

@ZhitaoTian
Copy link

It's wrong for 'N=C(O)CC'

@goldwind-ting
Copy link

do you mean ReferenceError: highlight_atoms is not defined?

@ZhitaoTian
Copy link
Author

@goldwind-ting
the right structure for "N=C(O)CC" should be:
image
while smileDrawer produce a structrue like this:
image

@xavierholt
Copy link

xavierholt commented Nov 4, 2022

This is a style preference, not a bug (I too prefer the fuller structures). You can get the output you want by disabling compactDrawing when you create your Drawer:

drawer = new SmilesDrawer.Drawer({
    // other stuff...
    compactDrawing: false
})

@ZhitaoTian
Copy link
Author

@xavierholt Thanks a lot.

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

3 participants