Skip to content

Commit

Permalink
fixed ndtsf reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiCheng45 committed Mar 4, 2025
1 parent 8b5f894 commit 729cae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_scattering.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def test_dcsf(traj_info, qvector_grid):
if any(key.startswith(j) for j in ["f(q,t)", "s(q,f)"])
]
for key in keys:
np.testing.assert_allclose(
np.testing.assert_array_almost_equal(
actual[f"/{key}"] * actual[f"/{key}"].attrs["scaling_factor"],
desired[f"/{key}"] * desired[f"/{key}"].attrs["scaling_factor"],
)
Expand Down Expand Up @@ -155,7 +155,7 @@ def test_ccf(traj_info, qvector_grid):
i for i in desired.keys() if any([j in i for j in ["J(q,f)", "j(q,t)"]])
]
for key in keys:
np.testing.assert_allclose(
np.testing.assert_array_almost_equal(
actual[f"/{key}"] * actual[f"/{key}"].attrs["scaling_factor"],
desired[f"/{key}"] * desired[f"/{key}"].attrs["scaling_factor"],
)
Expand Down
Binary file modified MDANSE/Tests/UnitTests/Results/ndtsf.mda
Binary file not shown.

0 comments on commit 729cae7

Please sign in to comment.