pymatgen/molecule format

Class: PyMatgenMoleculeFormat

Conversions

Convert from this format to System

dpdata.System(file_name, fmt: Literal['pymatgen/molecule'] = None) dpdata.system.System
dpdata.System.from_pymatgen_molecule(file_name) dpdata.system.System

Convert this format to System.

Returns:
System

converted system

Convert from System to this format

dpdata.System.to(fmt: Literal['pymatgen/molecule'])
dpdata.System.to_pymatgen_molecule()

Convert System to Pymatgen Molecule obj.

Convert from LabeledSystem to this format

dpdata.LabeledSystem.to(fmt: Literal['pymatgen/molecule'])
dpdata.LabeledSystem.to_pymatgen_molecule()

Convert System to Pymatgen Molecule obj.