From 9a5ddf119bd0f8e8775fb603b7579c03cd7c90e7 Mon Sep 17 00:00:00 2001 From: RaulPPealez Date: Fri, 28 Jun 2024 11:15:59 +0200 Subject: [PATCH] Fix typo in ACE dataset test --- tests/test_datasets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_datasets.py b/tests/test_datasets.py index 8d8695b7..e084ce93 100644 --- a/tests/test_datasets.py +++ b/tests/test_datasets.py @@ -291,8 +291,8 @@ def test_ace(tmpdir): mol["forces"].attrs["units"] = "eV/Å" mol["partial_charges"] = np.random.random((2, 3)) mol["partial_charges"].attrs["units"] = "e" - mol["dipole_moment"] = np.random.random((2, 3)) - mol["dipole_moment"].attrs["units"] = "e*Å" + mol["dipole_moments"] = np.random.random((2, 3)) + mol["dipole_moments"].attrs["units"] = "e*Å" dataset_v2 = Ace(root=tmpdir, paths=tmpfilename_v2) assert len(dataset_v2) == 6 f2.flush()