def mol_from_pymatgen(mol: Molecule): """ Args: mol(Molecule) """ mol = pybel.Molecule(BabelMolAdaptor(mol).openbabel_mol) mol.make3D() return mol