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

Dev/merge query hs no unmapped atoms #490

Merged

Conversation

bp-kelley
Copy link
Contributor

No description provided.

Brian Kelley added 2 commits April 23, 2015 09:54
By default all atoms are merged, however when
this flag is true, any mapped atom will convert
explicit Hs to implicit.  This is due to not
wanting to convert mapped hydrogens taking
part in reactions.
@bp-kelley
Copy link
Contributor Author

What a lousy commit message, here is what it should have been:

MergeQueryHs now has a new parameter: merge_unmapped_only

   - By default all hydrogens are removed, however if
     merge_unmapped_only is true, any hydrogen participating
     in an atom map will be retained

@greglandrum
Copy link
Member

I like the thought of this one, but the name of the argument should be changed to mergedUnmappedOnly to be consistent with the rest of the RDKit codebase.

@bp-kelley
Copy link
Contributor Author

Done.

greglandrum added a commit that referenced this pull request Apr 27, 2015
…toms

Dev/merge query hs no unmapped atoms
@greglandrum greglandrum merged commit 2916111 into rdkit:master Apr 27, 2015
@greglandrum greglandrum added this to the 2015_03_1 milestone Apr 27, 2015
@bp-kelley bp-kelley deleted the dev/mergeQueryHs-no-unmapped-atoms branch April 27, 2015 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants