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

Improve exit message for exception #353

Open
simontorres opened this issue May 18, 2021 · 0 comments
Open

Improve exit message for exception #353

simontorres opened this issue May 18, 2021 · 0 comments

Comments

@simontorres
Copy link
Member

If the GRATING keyword does not contain actual grating information the pipeline will crash.

Improve this exit

File "/home/natacha/anaconda3/envs/goodman_pipeline/lib/python3.8/site-packages/goodman_pipeline-1.3.4-py3.8.egg/goodman_pipeline/core/core.py", line 1470, in get_central_wavelength
    grating_frequency = float(grating) / u.mm
ValueError: could not convert string to float: ''
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

1 participant