Skip to content

Commit

Permalink
Fix typo in ACE dataset test
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez committed Jun 28, 2024
1 parent 9b5da8b commit 9a5ddf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9a5ddf1

Please sign in to comment.