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

COS extract notebook fails on numpy+warnings error #345

Open
sosey opened this issue Jan 21, 2025 · 1 comment
Open

COS extract notebook fails on numpy+warnings error #345

sosey opened this issue Jan 21, 2025 · 1 comment
Assignees
Labels
COS Cosmic Origins Spectrograph

Comments

@sosey
Copy link
Member

sosey commented Jan 21, 2025

notebooks/COS/Extract/Extract.ipynb. is currently failing in the first cell:

Cell In[1], line 35
32 import warnings
33 np.seterr(divide='ignore')
34 warnings.filterwarnings('ignore',
---> 35 category=np.VisibleDeprecationWarning)
36 from IPython.display import clear_output

File /opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/numpy/init.py:414, in getattr(attr)
411 import numpy.char as char
412 return char.chararray
--> 414 raise AttributeError("module {!r} has no attribute "
415 "{!r}".format(name, attr))

AttributeError: module 'numpy' has no attribute 'VisibleDeprecationWarning'

Notebook may need updating to use numpy.exceptions.VisibleDeprecationWarning

@sosey sosey added the COS Cosmic Origins Spectrograph label Jan 21, 2025
@srosagomez
Copy link
Contributor

Good morning @sosey

I am no longer on the COS team; please tag Anna Payne in anything related to COS/HASP notebooks from now on, she is the COS notebooks lead :) Thanks!

@sosey sosey assigned annapayne and unassigned srosagomez Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COS Cosmic Origins Spectrograph
Projects
None yet
Development

No branches or pull requests

3 participants