cdk/cdk — pull request #29 by rwst (2012-09-26 08:56:17+00:00)
Title: Implementing fix for bugs 3557907 and 3553328 3557907: Previously only t...

...he dictRef attribute of bondStereo was supported. This patch adds support for the 'content/text' of the bondStereo element to be set. This patch allows the bondStereo to be added from the charContent when the end of the element is detected. 3553328: Added support for CML files missing atomic number information. As the starting atom is a Hydrogen in the passer if no atomic number is provided the atomic number will default to '1'. This fix checks if the atom 'hasAtomicNumber' before the atom data is stored - if there is no atomic number specified but the symbol has been the atomic number is looked up in the periodic table (as per Atom constructor).

Signed-off-by: Ralf Stephan