diff --git a/src/dicomweb_client/file.py b/src/dicomweb_client/file.py index 3be1479..47eab49 100644 --- a/src/dicomweb_client/file.py +++ b/src/dicomweb_client/file.py @@ -857,7 +857,7 @@ def _update_db(self): getattr(ds, 'NumberOfFrames', '1') ), number_of_pixels_per_frame=int( - np.product([ + np.prod([ ds.Rows, ds.Columns, ds.SamplesPerPixel, @@ -2027,7 +2027,7 @@ def insert_instances( getattr(ds, 'NumberOfFrames', '1') ), number_of_pixels_per_frame=int( - np.product([ + np.prod([ ds.Rows, ds.Columns, ds.SamplesPerPixel