mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-03 12:50:25 +08:00
Import scipy before turning on warnings
This commit is contained in:
1 parent
542cd4fabe
commit
f72882fbd2
18 files changed
+17
-5
No files matched your search
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,8 +1,3 @@
|
||||
from skimage._shared.utils import all_warnings
|
||||
with all_warnings(): # suppress warnings when importing scipy
|
||||
import scipy.ndimage as _ndimage
|
||||
del _ndimage
|
||||
|
||||
from .lpi_filter import inverse, wiener, LPIFilter2D
|
||||
from ._gaussian import gaussian_filter
|
||||
from .edges import (sobel, hsobel, vsobel, sobel_h, sobel_v,
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
@@ -1,2 +1,3 @@
|
||||
import warnings
|
||||
from scipy import ndimage, special, optimize
|
||||
warnings.simplefilter('error')
|
||||
Reference in new issue
Block a user