From 8510fe0be3298e95fb62b32414613cc9279091eb Mon Sep 17 00:00:00 2001 From: livhe Date: Mon, 29 Jan 2024 17:42:59 +0100 Subject: [PATCH] make formatter happy --- gaitmap/utils/array_handling.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gaitmap/utils/array_handling.py b/gaitmap/utils/array_handling.py index ac591bb4..7309a885 100644 --- a/gaitmap/utils/array_handling.py +++ b/gaitmap/utils/array_handling.py @@ -3,7 +3,6 @@ import numba.typed import numpy as np -import pandas as pd from numba import njit from scipy.interpolate import interp1d from scipy.signal import find_peaks @@ -126,9 +125,7 @@ def bool_array_to_start_end_array(bool_array: np.ndarray) -> np.ndarray: """ # check if input is a numpy array. E.g. for a Series, start and end will just be the first and last index. if not isinstance(bool_array, np.ndarray): - raise TypeError( - "Input must be a numpy array!" - ) + raise TypeError("Input must be a numpy array!") # check if input is actually a boolean array if not np.array_equal(bool_array, bool_array.astype(bool)):