From 6af045c180b46c349ef7a3169b59d5ffc468e124 Mon Sep 17 00:00:00 2001 From: AlainKadar Date: Mon, 4 Dec 2023 16:59:27 -0500 Subject: [PATCH] Linting --- freud/order.pyx | 2 +- tests/test_order_Nematic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freud/order.pyx b/freud/order.pyx index b0f3c63c6..739c8bfe4 100644 --- a/freud/order.pyx +++ b/freud/order.pyx @@ -214,7 +214,7 @@ cdef class Nematic(_Compute): orientations, shape=(None, 3)) if len(np.where(~orientations.any(axis=1))[0])!=0: - warnings.warn('You supplied a zero vector in the orientations' + warnings.warn('You supplied a zero vector in the orientations' 'array, which causes unusual behavior.', UserWarning) cdef const float[:, ::1] l_orientations = orientations diff --git a/tests/test_order_Nematic.py b/tests/test_order_Nematic.py index daf7e44be..f462ac793 100644 --- a/tests/test_order_Nematic.py +++ b/tests/test_order_Nematic.py @@ -106,7 +106,7 @@ def test_warning(self): ) # Change first orientation to zero vector - orientations[0] = np.array([0,0,0]) + orientations[0] = np.array([0, 0, 0]) op = freud.order.Nematic()