* coordinates for the new hydrogens.
*
* @param container to which implicit hydrogens are added.
*/
protected void addImplicitHydrogens(IAtomContainer container) throws Exception {
CDKAtomTypeMatcher matcher = CDKAtomTypeMatcher.getInstance(container.getBuilder());
for (IAtom atom : container.atoms()) {
IAtomType type = matcher.findMatchingAtomType(container, atom);
AtomTypeManipulator.configure(atom, type);
}
CDKHydrogenAdder hAdder = CDKHydrogenAdder.getInstance(container.getBuilder());
hAdder.addImplicitHydrogens(container);
}