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

SMARTS Conversion to MOL removes mapping for hydrogen #33

Open
Artoria2e5 opened this issue Nov 12, 2018 · 1 comment
Open

SMARTS Conversion to MOL removes mapping for hydrogen #33

Artoria2e5 opened this issue Nov 12, 2018 · 1 comment

Comments

@Artoria2e5
Copy link

Artoria2e5 commented Nov 12, 2018

This breaks the [CH2:1]=[CH:2][CH:3]=[CH:4][CH2:5][H:6]>>[H:6][CH2:1][CH:2]=[CH:3][CH:4]=[CH2:5] test case from http://www.daylight.com/meetings/summerschool01/course/basics/smirks.html.

Input:

[CH2:1]=[CH:2][CH:3]=[CH:4][CH2:5][H:6]

Output:

Actelion Java MolfileCreator 1.0

  5  4  0  0  0  0  0  0  0  0999 V2000
    3.4641   -0.5000   -0.0000 C   0  0  0  0  0  0  0  0  0  1  0  0
    2.5981   -0.0000   -0.0000 C   0  0  0  0  0  0  0  0  0  2  0  0
    1.7321   -0.5000   -0.0000 C   0  0  0  0  0  0  0  0  0  3  0  0
    0.8660   -0.0000   -0.0000 C   0  0  0  0  0  0  0  0  0  4  0  0
    0.0000   -0.5000   -0.0000 C   0  0  0  0  0  0  0  0  0  5  0  0
  1  2  2  0  0  0  0
  2  3  1  0  0  0  0
  3  4  2  3  0  0  0
  4  5  1  0  0  0  0
M  END
@Artoria2e5 Artoria2e5 changed the title SMARTS Conversion to MOL removes mapped hydrogen SMARTS Conversion to MOL removes mapping for hydrogen Nov 12, 2018
@thsa
Copy link
Contributor

thsa commented Nov 12, 2018 via email

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

2 participants