-
Notifications
You must be signed in to change notification settings - Fork 20
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
TST: 5 test failures in test_wfc_destripe.py in devdeps #184
Comments
I took a look at the discrepancies and consulted with Norman. Given that the differences are all in the 5th or 6th significant figure and affect <2.5% of pixels in the detector, they are minor enough to ignore. Let me know if there's anything else I can help with. |
This comment was marked as resolved.
This comment was marked as resolved.
I have #185 that would make the CI green but I did find some difference that require me to set the tolerance very high ( |
I confirmed that the failures are caused by numpy 2.0.dev , not scipy nor astropy dev versions. See #187 (comment) |
I ran some tests in a numpy 2.0 dev environment and an environment with current numpy (1.26.2) to track down the cause of the failures. It looks like numpy 2.0 keeps results of some arithmetic in the original dtypes, when the current numpy converts them to For the failures, I think setting |
Example log: https://github.com/spacetelescope/acstools/actions/runs/6627739837/job/18206557160
These appears to be floating point differences. So someone who is familiar with the destriping algorithm should double check to make sure that these differences are acceptable, and if not, what kind of fixes are needed to make destriping compatible with unreleased versions of numpy/scipy/astropy/etc.
The text was updated successfully, but these errors were encountered: