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

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant