schrodinger.adapter module¶
schrodinger::adapter C++ wrappers
- exception schrodinger.adapter.InconsistentStructureError¶
Bases:
ValueError
The input structure for conversion is not internally consistent
- exception schrodinger.adapter.UnsupportedStructureError¶
Bases:
NotImplementedError
For structures that can’t be translated between RDKit and Schrodinger yet
- exception schrodinger.adapter.SMARTSParseError¶
Bases:
ValueError
SMARTS pattern could not be parsed
- schrodinger.adapter.to_smiles(st, *, strict=True, stereo=True)¶
Convert an RDKit molecule to a SMILES string
- schrodinger.adapter.to_smiles_canonical_atom_order(st, *, strict=True, stereo=True)¶
Get a canonical ordering of atoms in a structure.
- schrodinger.adapter.to_smarts(st, *, atoms=None, check_connectivity=True, stereo=True, hydrogens=1)¶
Convert an RDKit molecule to a SMARTS string.
- schrodinger.adapter.evaluate_smarts(st, smarts, unique_sets=False)¶
- schrodinger.adapter.smiles_to_3d_structure(smiles, *, require_stereo=True)¶
Convert a SMILES string to a 3D structure.