From 2de9a91ac913a6c268976426b46efb5d2805529d Mon Sep 17 00:00:00 2001 From: Brittany Watterson Date: Thu, 20 Feb 2025 22:02:44 -0500 Subject: [PATCH] fixed the error, updated the test_inertia file with exact same string as the MOI functions.plot. Error should be resolved. --- tests/test_analysis/test_inertia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_analysis/test_inertia.py b/tests/test_analysis/test_inertia.py index adb29863..faecfa92 100644 --- a/tests/test_analysis/test_inertia.py +++ b/tests/test_analysis/test_inertia.py @@ -40,7 +40,7 @@ def test_plot_moi_one_frame(moi_functions): # Simulate a single frame of inertia tensor data moi_functions.moments_of_inertia = np.array([[1.0, 2.0, 3.0]]) result = moi_functions.plot_moi() - assert "Only one frame in trajectory, no plot generated." in result + assert "Only one frame in the trajectory, no plot generated." in result @patch("mdcrow.tools.base_tools.analysis_tools.inertia.plt.savefig")