mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 20:22:51 +08:00
Fix broken and circular imports
This commit is contained in:
committed by
Johannes Schönberger
parent
3f7b8aa333
commit
0d1cc0f77d
@@ -4,7 +4,7 @@ from math import sqrt, atan2, pi as PI
|
||||
import numpy as np
|
||||
from scipy import ndimage
|
||||
|
||||
from skimage.morphology import convex_hull_image
|
||||
from ..morphology.convex_hull import convex_hull_image
|
||||
from ._ccomp import label
|
||||
from . import _moments
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ from numpy.testing import assert_array_equal, run_module_suite
|
||||
|
||||
from skimage.morphology import label
|
||||
from warnings import catch_warnings
|
||||
from _shared.util import skimage_deprecation
|
||||
from skimage._shared.utils import skimage_deprecation
|
||||
|
||||
class TestConnectedComponents:
|
||||
def setup(self):
|
||||
|
||||
Reference in New Issue
Block a user