Skip to content

SMILES propagation to editor drops triple bonds #27

Description

@egonw

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions