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

SMILES propagation to editor drops triple bonds #27

Open
egonw opened this issue Jan 17, 2018 · 0 comments
Open

SMILES propagation to editor drops triple bonds #27

egonw opened this issue Jan 17, 2018 · 0 comments

Comments

@egonw
Copy link
Member

egonw commented Jan 17, 2018

When I was playing with the new Explorer (congrats with the release!), I picked acetonitrile

image

I then tried the link for the given SMILES which opens a Ketcher editor: http://explorer.openphacts.org/compounds/draw?smiles=CC%23N Note how the hash (#) in the SMILES of this compound (CC#N) is escaped. However, the editor shows ethane (SMILES: CC):

image

After a bit of HTML browsing I found that the the Ketcher is in an iframe with the following URL: http://explorer.openphacts.org/ketcher/ketcher.html?smiles=CC

So, this analysis suggests that somewhere the # part is lost (probably because in URLs it is the "local" part, refering to a location in the document?

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