Skip to content

Commit 4063e75

Browse files
authored
Merge pull request #86 from ImagingDataCommons/cg/bugfix/np-prod
Update deprecated numpy method calls
2 parents e83fe98 + 1162cbb commit 4063e75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dicomweb_client/file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ def _update_db(self):
857857
getattr(ds, 'NumberOfFrames', '1')
858858
),
859859
number_of_pixels_per_frame=int(
860-
np.product([
860+
np.prod([
861861
ds.Rows,
862862
ds.Columns,
863863
ds.SamplesPerPixel,
@@ -2027,7 +2027,7 @@ def insert_instances(
20272027
getattr(ds, 'NumberOfFrames', '1')
20282028
),
20292029
number_of_pixels_per_frame=int(
2030-
np.product([
2030+
np.prod([
20312031
ds.Rows,
20322032
ds.Columns,
20332033
ds.SamplesPerPixel

0 commit comments

Comments
 (0)