conversions

pyscf_to_rdkit(mol: Mole, infer_bonds=True, catch_errors=False) Mol[source]

Convert a PySCF molecule to an RDKit molecule.

Parameters:
  • mol – The PySCF molecule.

  • infer_bonds – Whether to infer bonds from the geometry.

  • catch_errors – Whether to catch sanitization errors.

Returns: