Skip to content

Commit

Permalink
Avoid deprecated scipy.ndimage sub-namespaces (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
imagejan authored Jul 8, 2024
1 parent 3778f2a commit 59d21b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cluster_tools/morphology/region_centers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import numpy as np
import luigi
import nifty.tools as nt
from scipy.ndimage.morphology import distance_transform_edt
from scipy.ndimage import distance_transform_edt

import cluster_tools.utils.volume_utils as vu
import cluster_tools.utils.function_utils as fu
Expand Down
2 changes: 1 addition & 1 deletion cluster_tools/utils/volume_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import z5py

from elf.wrapper.resized_volume import ResizedVolume
from scipy.ndimage.morphology import binary_erosion
from scipy.ndimage import binary_erosion
from nifty.tools import blocking
from pybdv.metadata import (write_h5_metadata,
write_n5_metadata,
Expand Down

0 comments on commit 59d21b4

Please sign in to comment.