Skip to content

Commit

Permalink
update with mattersim command
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Dec 5, 2024
1 parent ff62dd1 commit 3be1346
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/source/recipes/energy_and_forces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This recipe is used to test the performance of different models in predicting th

.. code-block:: console
(.venv) $ mlipx recipes metrics --models mace_mp,sevennet,orb_v2,chgnet --datapath ../data/DODH_adsorption_dft.xyz --repro
(.venv) $ mlipx recipes metrics --models mace_mp,sevennet,orb_v2,chgnet,mattersim --datapath ../data/DODH_adsorption_dft.xyz --repro
.. mermaid::
:align: center
Expand Down
2 changes: 1 addition & 1 deletion docs/source/recipes/energy_volume.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Compute the energy-volume curve for a given material using multiple models.

.. code-block:: console
(.venv) $ mlipx recipes ev --models mace_mp,sevennet,orb_v2,chgnet --material-ids=mp-1143 --repro
(.venv) $ mlipx recipes ev --models mace_mp,sevennet,orb_v2,chgnet,mattersim --material-ids=mp-1143 --repro
(.venv) $ mlipx compare --glob "*EnergyVolumeCurve"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/recipes/homonuclear_diatomics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Homonuclear diatomics give a per-element information on the performance of the :

.. code-block:: console
(.venv) $ mlipx recipes homonuclear-diatomics --models mace_mp,sevennet,orb_v2 --smiles="[Li+].[Cl-]" --repro
(.venv) $ mlipx recipes homonuclear-diatomics --models mace_mp,sevennet,orb_v2,mattersim --smiles="[Li+].[Cl-]" --repro
You can edit the elements in the :term:`main.py` file to include the elements you want to test.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/recipes/invariances.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Check the rotational, translational and permutational invariance of an :term:`ml

.. code-block:: console
(.venv) $ mlipx recipes invariances --models mace_mp,sevennet,orb_v2,chgnet --material-ids=mp-1143 --repro
(.venv) $ mlipx recipes invariances --models mace_mp,sevennet,orb_v2,chgnet,mattersim --material-ids=mp-1143 --repro
(.venv) $ mlipx compare --glob "*TranslationalInvariance"
(.venv) $ mlipx compare --glob "*RotationalInvariance"
(.venv) $ mlipx compare --glob "*PermutationInvariance"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/recipes/md.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This recipe is used to test the performance of different models in molecular dyn

.. code-block:: console
(.venv) $ mlipx recipes md --models mace_mp,sevennet,orb_v2,chgnet --material-ids=mp-1143 --repro
(.venv) $ mlipx recipes md --models mace_mp,sevennet,orb_v2,chgnet,mattersim --material-ids=mp-1143 --repro
(.venv) $ mlipx compare --glob "*MolecularDynamics"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/recipes/neb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can run the following command to instantiate a test directory:

.. code-block:: console
(.venv) $ mlipx recipes neb --models mace_mp,sevennet,orb_v2,chgnet --datapath ../data/neb_end_p.xyz --repro
(.venv) $ mlipx recipes neb --models mace_mp,sevennet,orb_v2,chgnet,mattersim --datapath ../data/neb_end_p.xyz --repro
(.venv) $ zntrack list # show available Nodes
(.venv) $ mlipx compare --glob "*NEBs"
Expand Down
3 changes: 2 additions & 1 deletion docs/source/recipes/phase_diagram.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can run the following command to instantiate a test directory:

.. code-block:: console
(.venv) $ mlipx recipes phase-diagram --models mace_mp,sevennet,orb_v2,chgnet --material-ids=mp-30084 --repro
(.venv) $ mlipx recipes phase-diagram --models mace_mp,sevennet,orb_v2,chgnet,mattersim --material-ids=mp-30084 --repro
(.venv) $ mlipx compare --glob "*PhaseDiagram"
Expand All @@ -20,6 +20,7 @@ You can run the following command to instantiate a test directory:
plots["orb_v2_0-phase-diagram"].show()
plots["sevennet_0-phase-diagram"].show()
plots["chgnet_0-phase-diagram"].show()
plots["mattersim_0-phase-diagram"].show()

This test uses the following Nodes together with your provided model in the :term:`models.py` file:
Expand Down
3 changes: 2 additions & 1 deletion docs/source/recipes/pourbaix_diagram.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Pourbaix Diagram

.. code-block:: console
(.venv) $ mlipx recipes pourbaix-diagram --models mace_mp,sevennet,orb_v2,chgnet --material-ids=mp-1143 --repro
(.venv) $ mlipx recipes pourbaix-diagram --models mace_mp,sevennet,orb_v2,chgnet,mattersim --material-ids=mp-1143 --repro
(.venv) $ mlipx compare --glob "*PourbaixDiagram"
Expand All @@ -23,6 +23,7 @@ Pourbaix Diagram
plots["orb_v2_0-pourbaix-diagram"].show()
plots["sevennet_0-pourbaix-diagram"].show()
plots["chgnet_0-pourbaix-diagram"].show()
plots["mattersim_0-pourbaix-diagram"].show()
This test uses the following Nodes together with your provided model in the :term:`models.py` file:

Expand Down
2 changes: 1 addition & 1 deletion docs/source/recipes/relax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This recipe is used to test the performance of different models in performing st

.. code-block:: console
(.venv) $ mlipx recipes relax --models mace_mp,sevennet,orb_v2,chgnet --material-ids=mp-1143 --repro
(.venv) $ mlipx recipes relax --models mace_mp,sevennet,orb_v2,chgnet,mattersim --material-ids=mp-1143 --repro
(.venv) $ mlipx compare --glob "*StructureOptimization"
.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/source/recipes/vibrational_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ You can run the following command to instantiate a test directory:

.. code-block:: console
(.venv) $ mlipx recipes vibrational-analysis --models mace_mp,sevennet,orb_v2 --smiles=CO,CCO,CCCO,CCCCO
(.venv) $ mlipx recipes vibrational-analysis --models mace_mp,sevennet,orb_v2,mattersim --smiles=CO,CCO,CCCO,CCCCO
The vibrational analysis method needs additional information to run.
Please edit the ``main.py`` file and set the ``system`` parameter on the ``VibrationalAnalysis`` node.
Expand Down

0 comments on commit 3be1346

Please sign in to comment.