from_smiles()
Embed a geometry for a SMILES string with RDKit.
Usage
from_smiles(smiles)Coordinates are embedded with a fixed random seed, so they are reproducible.
Parameters
smiles: str- SMILES string.
Returns
Geometry- The embedded geometry.
Raises
ValueError- If the SMILES string is invalid.
Examples
>>> import autogeom
>>> geo = autogeom.from_smiles("[OH]")
>>> geo.symbols, geo.spin(['O', 'H'], 1)