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 with component-level grouping saved without '()' #1254

Closed
Tracked by #1242
AliaksandrDziarkach opened this issue Sep 6, 2023 · 0 comments · Fixed by #1266
Closed
Tracked by #1242

SMARTS with component-level grouping saved without '()' #1254

AliaksandrDziarkach opened this issue Sep 6, 2023 · 0 comments · Fixed by #1266
Assignees
Projects

Comments

@AliaksandrDziarkach
Copy link
Collaborator

rsmiles_saver doesn't save SMARTS component-level grouping.
e.g. next code should print same SMARTS:

rxn1 = indigo.loadReactionSmarts("([#8:1]=[#6:2]).([#6:3])>>([#8:1]=[#6:2]).([#6:3])")
print(rxn1.smarts())

But now it print SMARTS without parentheses '()':
[#8:1]=[#6:2].[#6:3]>>[#8:1]=[#6:2].[#6:3]

@AliaksandrDziarkach AliaksandrDziarkach self-assigned this Sep 6, 2023
@AliaksandrDziarkach AliaksandrDziarkach added this to Product Backlog in Indigo via automation Sep 6, 2023
@AliaksandrDziarkach AliaksandrDziarkach added this to the Indigo-1.15.0-rc.1 milestone Sep 6, 2023
@AliaksandrDziarkach AliaksandrDziarkach moved this from Product Backlog to In progress in Indigo Sep 6, 2023
Indigo automation moved this from In progress to Done Sep 14, 2023
AlexanderSavelyev pushed a commit that referenced this issue Sep 14, 2023
Co-authored-by: Aliaksandr Dziarkach <adziarkach@infoblox.com>
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