Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address scipy deprecation warnings #58

Closed
tbirdso opened this issue Aug 18, 2022 · 1 comment
Closed

Address scipy deprecation warnings #58

tbirdso opened this issue Aug 18, 2022 · 1 comment

Comments

@tbirdso
Copy link
Collaborator

tbirdso commented Aug 18, 2022

Several deprecation warnings appear in test logs. Relevant scipy.ndimage.filters filters should be replaced with their counterparts from scipy.ndimage.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `convolve` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `correlate` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `laplace` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `prewitt` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `sobel` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py: 13 warnings
  Please use `gaussian_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `gaussian_gradient_magnitude` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `gaussian_laplace` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `generic_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `minimum_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `median_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `maximum_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `rank_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `percentile_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.

test/test_multiscale_spatial_image.py::test_gaussian_isotropic_scale_factors
  Please use `uniform_filter` from the `scipy.ndimage` namespace, the `scipy.ndimage.filters` namespace is deprecated.
@thewtex
Copy link
Contributor

thewtex commented Sep 20, 2022

Addressed by @GenevieveBuckley via dask/dask-image#269

@thewtex thewtex closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants