Re: [Open Babel] Openbabel bug/inconsistency - added H to mol inverts stereochemistry

2011-11-29 Thread Noel O'Boyle
Fixed on trunk. The code to update stereo objects was missing from AddHydrogens(). - Noel On 29 November 2011 11:17, JP wrote: > Using OpenBabel 2.3.1, on Ubuntu Linux 10.10 > > Using the attached *seemingly unsuspect and correct* sdf file - zzz.sdf. > > Converting this file to smiles: > > $ oba

Re: [Open Babel] Openbabel bug/inconsistency - added H to mol inverts stereochemistry

2011-11-29 Thread Noel O'Boyle
Looks like a bug. Not sure how I missed this one. I'll look into it asap. - Noel On 29 November 2011 11:17, JP wrote: > Using OpenBabel 2.3.1, on Ubuntu Linux 10.10 > > Using the attached *seemingly unsuspect and correct* sdf file - zzz.sdf. > > Converting this file to smiles: > > $ obabel zzz.s

[Open Babel] Openbabel bug/inconsistency - added H to mol inverts stereochemistry

2011-11-29 Thread JP
Using OpenBabel 2.3.1, on Ubuntu Linux 10.10 Using the attached *seemingly unsuspect and correct* sdf file - zzz.sdf. Converting this file to smiles: $ obabel zzz.sdf -osmi -Ozzz.smi 2 molecules converted Gives us the expected and correct result: $ more zzz.smi C[C@@H](N)C(=O)OAla1 C[C@