Skip to content

Commit

Permalink
Rename mace_mp model file
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Feb 16, 2024
1 parent 5a28f00 commit 37b2958
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_mlip_calculators.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

def test_mace():
"""Test mace calculator can be configured."""
model_path = Path(Path(__file__).parent, "models", "MACE_small.model")
model_path = Path(Path(__file__).parent, "models", "mace_mp_small.model")
calculator = choose_calculator(
architecture="mace", device="cpu", model_paths=model_path
)
Expand Down
10 changes: 5 additions & 5 deletions tests/test_single_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_single_point_kwargs():
"""Test kwargs passed when using MACE calculator for single point energy."""

data_path = Path(Path(__file__).parent, "data", "benzene.xyz")
model_path = Path(Path(__file__).parent, "models", "MACE_small.model")
model_path = Path(Path(__file__).parent, "models", "mace_mp_small.model")
single_point = SinglePoint(
system=data_path, architecture="mace", model_paths=model_path
)
Expand All @@ -30,7 +30,7 @@ def test_single_point_kwargs():
def test_single_point_forces():
"""Test single point forces using MACE calculator."""
data_path = Path(Path(__file__).parent, "data", "benzene.xyz")
model_path = Path(Path(__file__).parent, "models", "MACE_small.model")
model_path = Path(Path(__file__).parent, "models", "mace_mp_small.model")
single_point = SinglePoint(
system=data_path, architecture="mace", model_paths=model_path
)
Expand All @@ -43,7 +43,7 @@ def test_single_point_forces():
def test_single_point_stress():
"""Test single point stress using MACE calculator."""
data_path = Path(Path(__file__).parent, "data", "NaCl.cif")
model_path = Path(Path(__file__).parent, "models", "MACE_small.model")
model_path = Path(Path(__file__).parent, "models", "mace_mp_small.model")
single_point = SinglePoint(
system=data_path, architecture="mace", model_paths=model_path
)
Expand All @@ -56,7 +56,7 @@ def test_single_point_stress():
def test_single_point_none():
"""Test single point stress using MACE calculator."""
data_path = Path(Path(__file__).parent, "data", "NaCl.cif")
model_path = Path(Path(__file__).parent, "models", "MACE_small.model")
model_path = Path(Path(__file__).parent, "models", "mace_mp_small.model")
single_point = SinglePoint(
system=data_path, architecture="mace", model_paths=model_path
)
Expand All @@ -69,7 +69,7 @@ def test_single_point_none():
def test_single_point_traj():
"""Test single point stress using MACE calculator."""
data_path = Path(Path(__file__).parent, "data", "benzene-traj.xyz")
model_path = Path(Path(__file__).parent, "models", "MACE_small.model")
model_path = Path(Path(__file__).parent, "models", "mace_mp_small.model")
single_point = SinglePoint(
system=data_path,
architecture="mace",
Expand Down

0 comments on commit 37b2958

Please sign in to comment.