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

Update docs for ReplaceSubstructs #5343

Merged
merged 1 commit into from
Jun 17, 2022
Merged

Update docs for ReplaceSubstructs #5343

merged 1 commit into from
Jun 17, 2022

Conversation

i-tub
Copy link
Contributor

@i-tub i-tub commented May 31, 2022

  • Use O[CH3] instead of OC for the existing examples, to ensure that the
    the examples produce the output shown (assuming the query is parsed as
    a SMARTS).
  • Add a note and an example showing how bonds are formed only to the
    atoms that were connected to the first atom in the substructure query,
    and suggest using ChemicalReaction for finer control.

Reference Issue

Documents behavior explained in #5329

- Use O[CH3] instead of OC for the existing examples, to ensure that the
  the examples produce the output shown (assuming the query is parsed as
  a SMARTS).
- Add a note and an example showing how bonds are formed only to the
  atoms that were connected to the first atom in the substructure query,
  and suggest using ChemicalReaction for finer control.
Copy link
Member

@greglandrum greglandrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@greglandrum greglandrum added documentation Cleanup Code cleanup and refactoring labels Jun 17, 2022
@greglandrum greglandrum added this to the 2022_03_4 milestone Jun 17, 2022
@greglandrum greglandrum merged commit 07e5b0c into rdkit:master Jun 17, 2022
greglandrum pushed a commit that referenced this pull request Jul 5, 2022
- Use O[CH3] instead of OC for the existing examples, to ensure that the
  the examples produce the output shown (assuming the query is parsed as
  a SMARTS).
- Add a note and an example showing how bonds are formed only to the
  atoms that were connected to the first atom in the substructure query,
  and suggest using ChemicalReaction for finer control.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cleanup Code cleanup and refactoring documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants