mol_to_str()
mole_to_sum_formula()
monkey_patch_pyscf_mol_str()
String representation of a pyscf.gto.mole.Mole, with more information than the default.
Converts a pyscf.gto.mole.Mole to a sum formula.
mol – Molecule to convert.
use_subscript – Whether to use subscript for the number of atoms.
Sum formula of the molecule.
sum_formula
Monkey-patch pyscf.gto.Mole.__str__ to produce a more useful string representation.
To use, call this function once at the beginning of your script: ` from mldft.utils.pyscf_pretty_print import monkey_patch_pyscf_mol_str monkey_patch_pyscf_mol_str() `
` from mldft.utils.pyscf_pretty_print import monkey_patch_pyscf_mol_str monkey_patch_pyscf_mol_str() `