Skip to content

SMILES parser fails to include explicit H atoms in alkene stereochemistry #143

@BobHanson

Description

@BobHanson

SmilesParser.parse:

[H]/C(C)=C\CO
C/C([H])=C\CO

both fail, giving crossed no-stereo double bond.

My quick hack for OCL-SwingJS was just to change the String to [7H] and then remove the mass at the the end.
See https://github.com/BobHanson/OCL-SwingJS/blob/8835d1e8ea082959ce7692209df250168e0f7700/src/main/java/com/actelion/research/chem/SmilesParser.java#L347

Or am I just missing some flag that I need to set?

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