Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

suggest to update PySM 3 in case file not found #165

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

zonca
Copy link
Member

@zonca zonca commented Jun 9, 2023

See #164

@zonca
Copy link
Member Author

zonca commented Jun 9, 2023

Now if a template is not found you get the error:

E               urllib.error.URLError: <urlopen error Unable to open any source! Exceptions were {'https://portal.nersc.gov/project/cmb/pysm-data/doesntexist.txt': <HTTPError 404: 'Not Found'>, 'http://www.astropy.org/astropy-data/doesntexist.txt': <HTTPError 404: 'Not Found'>}>

/usr/lib/python3/dist-packages/astropy/utils/data.py:1259: URLError
----------------------------------------------------------------------------------------- Captured log call ------------------------------------------------------------------------------------------
ERROR    pysm3:data.py:54 File not found, please make sure you are using the latest version of PySM 3

@zonca zonca force-pushed the warn_update_filenotfound branch from b9c4b7c to 32a892c Compare June 9, 2023 22:06
@zonca zonca merged commit 1f6b9bf into galsci:main Jun 9, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant