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

Incorrect S-Group count in MOL V3000 header if ImplicitH is set #1415

Closed
AliaksandrDziarkach opened this issue Nov 22, 2023 · 0 comments · Fixed by #1416
Closed

Incorrect S-Group count in MOL V3000 header if ImplicitH is set #1415

AliaksandrDziarkach opened this issue Nov 22, 2023 · 0 comments · Fixed by #1416
Assignees
Labels
Projects

Comments

@AliaksandrDziarkach
Copy link
Collaborator

AliaksandrDziarkach commented Nov 22, 2023

Steps to reproduce:

  1. Load smiles "C1CCC(C1)Nc1ccc2ccn(-c3ccc4[nH]ncc4c3)c2c1"
  2. Save as "MDL Molfile V3000".
    In generated file Counts Line is "M V30 COUNTS 24 28 0 0 0", which means 24 atoms, 28 bonds, 0 S-Groups, etc.
    But in end of this file one S-Group defined.

Root cause: indigo Molfile saver, write counts line, then process atoms. New S-Group generated for atoms with ImplicitH count. As result Counts Line contains wrong S-Group count - 0.

@AliaksandrDziarkach AliaksandrDziarkach added this to the Backlog milestone Nov 22, 2023
@AliaksandrDziarkach AliaksandrDziarkach self-assigned this Nov 22, 2023
@AliaksandrDziarkach AliaksandrDziarkach added this to Product Backlog in Indigo via automation Nov 22, 2023
@AliaksandrDziarkach AliaksandrDziarkach moved this from Product Backlog to In progress in Indigo Nov 22, 2023
@AliaksandrDziarkach AliaksandrDziarkach moved this from In progress to In review in Indigo Nov 22, 2023
@AliaksandrDziarkach AliaksandrDziarkach changed the title Wrong S-Group count in MOL V3000 header Incorrect S-Group count in MOL V3000 header if ImplicitH is set Nov 22, 2023
Indigo automation moved this from In review to Done Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Indigo
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants