megnet.utils.molecule module

Molecule utility, mainly using openbabel

get_pmg_mol_from_smiles(smiles: str) pymatgen.core.structure.Molecule[source]

Get a pymatgen molecule from smiles representation :param smiles: (str) smiles representation of molecule

Returns

pymatgen Molecule