.. _PyMatgenMoleculeFormat:

pymatgen/molecule format
========================

Class: :class:`PyMatgenMoleculeFormat <dpdata.plugins.pymatgen.PyMatgenMoleculeFormat>`

Conversions
-----------

.. _PyMatgenMoleculeFormat_from_system:

Convert from this format to System
``````````````````````````````````

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

   
Convert this format to :class:`System`.





:Returns:

    System
        converted system















.. _PyMatgenMoleculeFormat_to_system:

Convert from System to this format
``````````````````````````````````

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

   
Convert System to Pymatgen Molecule obj.




















.. _PyMatgenMoleculeFormat_to_labeled_system:

Convert from LabeledSystem to this format
`````````````````````````````````````````

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

   
Convert System to Pymatgen Molecule obj.


















