Skip to content

Fix scipy DeprecationWarning.#698

Merged
pgbrodrick merged 1 commit into
isofit:devfrom
danschef:fix_scipy_deprecationwarning
Jun 2, 2025
Merged

Fix scipy DeprecationWarning.#698
pgbrodrick merged 1 commit into
isofit:devfrom
danschef:fix_scipy_deprecationwarning

Conversation

@danschef

Copy link
Copy Markdown
Contributor

This fixes the following DeprecationWarning:

../../../../opt/conda/envs/ci_env/lib/python3.12/site-packages/isofit/utils/instrument_model.py:25
  /opt/conda/envs/ci_env/lib/python3.12/site-packages/isofit/utils/instrument_model.py:25: DeprecationWarning: Please import `gaussian_filter1d` from the `scipy.ndimage` namespace; the `scipy.ndimage.filters` namespace is deprecated and will be removed in SciPy 2.0.0.
    from scipy.ndimage.filters import gaussian_filter1d

The module scipy.ndimage.filters is deprecated since scipy version 1.8 (May 2022).

Signed-off-by: Daniel Scheffler <danschef@gfz.de>
@pgbrodrick pgbrodrick merged commit 88c4e8a into isofit:dev Jun 2, 2025
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants