Re: [Rdkit-discuss] Preserving hydrogens necessary for imine cis/trans stereochemistry?

2017-05-17 Thread Greg Landrum
There isn't currently any easy way to do this. One workaround that could make the manual stuff a bit less painful would be find those Hs, convert them into Ds, call RemoveHs(), and then convert the Ds back into Hs. It seems like it does make sense to modify the RemoveHs() function:

[Rdkit-discuss] Preserving hydrogens necessary for imine cis/trans stereochemistry?

2017-05-17 Thread Brian Cole
Is there a recommended way in RDKit to preserve hydrogens necessary for representing cis/trans stereochemistry of imines? For example, given the attached SDF I need to maintain explicit hydrogens in the output SMILES string to maintain the imine cis/trans stereo-chemistry. mol =