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 saver works incorrectly for non-query entities if atom valence or radical present #1260

Closed
mkviatkovskii opened this issue Sep 8, 2023 · 0 comments · Fixed by #1261
Assignees
Projects

Comments

@mkviatkovskii
Copy link
Member

mkviatkovskii commented Sep 8, 2023

Steps to Reproduce

  1. Load molecule or reaction with atom mappings from SMILES/SMARTS common subset using lndigo, e.g. [C:1]=[C:2][C:3].[C:4]=[C:5][C:6]>>[C:3][C:2]=[C:5][C:6].
  2. Clear atom mappings via automap("clear").
  3. Attempt to save it to SMARTS format.

Expected behavior
Valid SMARTS like [#6]=[#6]-[#6].[#6]=[#6]-[#6]>>[#6]-[#6]=[#6]-[#6] |^3:0,3,^1:1,4,7,8| generated.

Actual behavior
Error SMILES saver: Unknown atom attribute 9 appears.

Indigo/Bingo version
indigo-1.14.0-rc.4

@mkviatkovskii mkviatkovskii added this to Product Backlog in Indigo via automation Sep 8, 2023
@mkviatkovskii mkviatkovskii self-assigned this Sep 8, 2023
@mkviatkovskii mkviatkovskii moved this from Product Backlog to In review in Indigo Sep 8, 2023
@mkviatkovskii mkviatkovskii added this to the Indigo-1.14.0-rc.5 milestone Sep 8, 2023
mkviatkovskii added a commit that referenced this issue Sep 8, 2023
mkviatkovskii added a commit that referenced this issue Sep 8, 2023
mkviatkovskii added a commit that referenced this issue Sep 8, 2023
Indigo automation moved this from In review to Done Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Indigo
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant