From 527871f8300d02e82dbf25aba32301b3635e0ece Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Fri, 22 Nov 2024 14:22:51 -0800 Subject: [PATCH] Replace np.product with np.prod --- src/nwbinspector/checks/_tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nwbinspector/checks/_tables.py b/src/nwbinspector/checks/_tables.py index 03456febf..8abf956a0 100644 --- a/src/nwbinspector/checks/_tables.py +++ b/src/nwbinspector/checks/_tables.py @@ -155,7 +155,7 @@ def check_column_binary_capability( ["hit", "miss"], ] if any([set(parsed_unique_values) == set(pair) for pair in pairs_to_check]): # type: ignore - saved_bytes = (unique_values.dtype.itemsize - 1) * np.product( + saved_bytes = (unique_values.dtype.itemsize - 1) * np.prod( get_data_shape(data=column.data, strict_no_data_load=True) ) if unique_values.dtype == "float":