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

interpret_dqval not compatible with numpy 2.0 (DeprecationWarning) #63

Closed
pllim opened this issue Jan 22, 2024 · 0 comments · Fixed by #71
Closed

interpret_dqval not compatible with numpy 2.0 (DeprecationWarning) #63

pllim opened this issue Jan 22, 2024 · 0 comments · Fixed by #71
Labels

Comments

@pllim
Copy link
Contributor

pllim commented Jan 22, 2024

Example log: https://github.com/spacetelescope/reftools/actions/runs/7606682322/job/20712860995

        # Find all the possible DQ flags
        else:
>           idx = (dqval & self._valid_flags) != 0
E           DeprecationWarning: __array_wrap__ must accept context and return_scalar arguments (positionally) in the future. (Deprecated NumPy 2.0)

reftools/interpretdq.py:329: DeprecationWarning

I think @mcara originally wrote this.

Caused by:

@pllim pllim added the bug label Jan 22, 2024
@pllim pllim changed the title interpret_dqval not compatible with numpy 3.0 (DeprecationWarning) interpret_dqval not compatible with numpy 2.0 (DeprecationWarning) Jan 22, 2024
@pllim pllim closed this as completed in #71 Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant