From 43e48d4cc73755e2f2d7e37a8391b95426e210dc Mon Sep 17 00:00:00 2001 From: Guenther Obermair Date: Tue, 10 Sep 2024 18:54:40 +0200 Subject: [PATCH] Rm: .all()-function in test_create-file --- tests/helpme/test_create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpme/test_create.py b/tests/helpme/test_create.py index c92d23483..38f09b74a 100644 --- a/tests/helpme/test_create.py +++ b/tests/helpme/test_create.py @@ -468,7 +468,7 @@ def calculate_cs_normal_vector(cs_cp, res_cp, rand): # check if normal vector is parallel to tangent vector # --> then transformation of cross-section is correct - assert np.allclose(np.cross(rand_traj_tangent, normal_vector).all(), 0) + assert np.allclose(np.cross(rand_traj_tangent, normal_vector), 0) ## TEST ALSO WITH CUSTOM NORMAL VECTOR ##