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

use math module instead of numpy.math #384

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Conversation

jburel
Copy link
Member

@jburel jburel commented Sep 27, 2023

This should fix the warning noticed in the updated CI

/home/omero/workspace/OMERO-test-integration/.venv3/lib64/python3.9/site-packages/omero/util/roi_handling_utils.py:28: DeprecationWarning: `np.math` is a deprecated alias for the standard library `math` module (Deprecated Numpy 1.25). Replace usages of `np.math` with `math`
23:16:31     from numpy import asarray, int32, math, zeros, hstack, vstack

@joshmoore
Copy link
Member

👍 Have definitely seen this in other repos.

@joshmoore joshmoore merged commit 59ad18a into ome:master Oct 30, 2023
7 checks passed
@jburel jburel deleted the numpy_math branch April 29, 2024 13:39
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.

3 participants