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

Warning in testing for Ska3 Speedy (python 3.11) #69

Open
javierggt opened this issue Jan 18, 2024 · 1 comment
Open

Warning in testing for Ska3 Speedy (python 3.11) #69

javierggt opened this issue Jan 18, 2024 · 1 comment

Comments

@javierggt
Copy link
Contributor

We have started testing for the 2024 version of Ska3-flight, code-named Speedy.

The tests failed, but at this time it might be I just need a later version of acis_thermal_check. I will update later.

For now, the following is a warning that might be relevant:

  /export/jgonzale/github-workflows/miniconda3/envs/ska3-flight-2024.0rc7/lib/python3.11/site-packages/acis_thermal_check/acis_obs.py:136: D\
eprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single ele\
ment from your array before performing this operation. (Deprecated NumPy 1.25.)
    app_exp[i] += np.float64(tab_seq["APP_EXP"][j]).sum()

tests/acisfp/test_acisfp_acis.py::test_prediction[MAR0617A]
@jeanconn
Copy link

Also noting this other warning here.

tests/acisfp/test_acisfp_viols.py::test_JUN1421A_viols
  /proj/sot/ska3/flight/lib/python3.11/site-packages/numpy/ma/core.py:467: RuntimeWarning: invalid value encountered in cast
    fill_value = np.array(fill_value, copy=False, dtype=ndtype)

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

No branches or pull requests

2 participants