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

Avoid scipy deprecation warning on RectBivariateSpline import #262

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

hassec
Copy link
Contributor

@hassec hassec commented Aug 15, 2023

Small change to import RectBivariateSpline from scipy.interpolate instead from deprecated fitpack2 submodule.

The requirements.txt doesn't really specify what the minimum version of scipy is that omas supports. But I noticed that there is already a

from scipy.interpolate import RectBivariateSpline

further down in the same file, thus this change is fully backwards compatible and avoids the import warning when using newer scipy versions.

@jmcclena jmcclena merged commit c603b54 into gafusion:master Aug 30, 2023
1 check 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