re-enabling a test
@@ -399,17 +399,17 @@ class FilterTest():
assert not np.any(np.isnan(snow.im))
def test_snow_partitioning_parallel(self):
- # np.random.seed(1)
- # im = ps.generators.overlapping_spheres(shape=[1000, 1000],
- # r=10, porosity=0.5)
- # snow = ps.filters.snow_partitioning_parallel(im,
- # divs=[2, 2],
- # cores=None,
- # r_max=5, sigma=0.4)
- # # assert np.amax(snow.regions) == 919
- # assert not np.any(np.isnan(snow.regions))
- # assert not np.any(np.isnan(snow.dt))
- # assert not np.any(np.isnan(snow.im))
+ np.random.seed(1)
+ im = ps.generators.overlapping_spheres(shape=[1000, 1000],
+ r=10, porosity=0.5)
+ snow = ps.filters.snow_partitioning_parallel(im,
+ divs=[2, 2],
+ cores=None,
+ r_max=5, sigma=0.4)
+ # assert np.amax(snow.regions) == 919
+ assert not np.any(np.isnan(snow.regions))
+ assert not np.any(np.isnan(snow.dt))
+ assert not np.any(np.isnan(snow.im))
def test_chunked_func_2d(self):
from skimage.morphology import disk
