geom.rdkit_mol()
Convert a geometry to an RDKit molecule.
Usage
geom.rdkit_mol(geo)Connectivity comes from adjacency_matrix (with valence caps). Bond orders, formal charges, and radicals are perceived to match the geometry’s charge and spin (see automol.rd.mol.from_connectivity), and stereochemistry is assigned from the 3D coordinates.
Parameters
geo: Geometry- Geometry.
Returns
Mol- RDKit molecule with perceived bonding and stereochemistry.
Raises
NotImplementedError-
If the geometry contains a metal.
GeometryConversionError- If no Lewis structure is consistent with the connectivity, charge, and spin.