From 8dc660b2e9dcc699ac21078ea062a46257beeeed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Guignard?= Date: Wed, 8 Jan 2025 17:16:14 +0100 Subject: [PATCH] refactor: replace np.product with np.prod for deprecation --- src/sc3D/sc3D.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sc3D/sc3D.py b/src/sc3D/sc3D.py index 82728ad..eee30fc 100644 --- a/src/sc3D/sc3D.py +++ b/src/sc3D/sc3D.py @@ -2378,7 +2378,7 @@ def compute_volumes(self, tissues_to_treat=None, bead_size=(10, 10, 30)): tissues_to_treat = self.all_tissues volumes = {} - bead_volume = np.product(bead_size) + bead_volume = np.prod(bead_size) for t in tissues_to_treat: volumes[self.corres_tissue.get(t, t)] = ( len(self.cells_from_tissue.get(t, [])) * bead_volume