Skip to content

Commit 6f9d836

Browse files
committed
add tests
1 parent 14fab37 commit 6f9d836

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

janus_core/helpers/mlip_calculators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def choose_calculator(
250250
elif isinstance(model_path, GraphRegressor):
251251
model = model_path
252252
else:
253-
model = orb_ff.orb_v1_mptraj_only()
253+
model = orb_ff.orb_v2()
254254

255255
calculator = ORBCalculator(model=model, device=device, **kwargs)
256256

tests/test_single_point.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ def test_mlips(arch, device, expected_energy):
284284
("sevennet", "cpu", -27.061979293823242, {"model_path": SEVENNET_PATH}),
285285
("sevennet", "cpu", -27.061979293823242, {}),
286286
("sevennet", "cpu", -27.061979293823242, {"model_path": "SevenNet-0_11July2024"}),
287+
("orb", "cpu", -27.088973999023438, {}),
288+
("orb", "cpu", -27.088973999023438, {"model_path": "orb-v2"}),
287289
]
288290

289291

0 commit comments

Comments
 (0)