From 356053dc4dfd4a8aba9a5426c4b79bf989165dba Mon Sep 17 00:00:00 2001 From: Vince Reuter Date: Fri, 15 Mar 2024 19:39:31 +0100 Subject: [PATCH] remove nonexistent numpy types --- spotfishing/detectors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spotfishing/detectors.py b/spotfishing/detectors.py index 8a6d323..d1dda9f 100644 --- a/spotfishing/detectors.py +++ b/spotfishing/detectors.py @@ -24,8 +24,8 @@ __all__ = ["detect_spots_dog", "detec_spots_int"] Numeric = Union[int, float] -NumpyInt = Union[np.int8, np.int16, np.int32, np.int64, np.int128, np.int256] -NumpyFloat = Union[np.float16, np.float32, np.float64, np.float128, np.float256] +NumpyInt = Union[np.int8, np.int16, np.int32, np.int64] +NumpyFloat = Union[np.float16, np.float32, np.float64] PixelValue = Union[np.int8, np.int16]