goodman_pipeline
goodman_pipeline copied to clipboard
Improve exit message for exception
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: ''