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