nhurleywalker / fits_warp

Warp catalogues and images to dedistort the effects of the ionosphere
Other
6 stars 5 forks source link

Error message for non-existent _xm.fits file is unhelpful #8

Open nhurleywalker opened 4 years ago

nhurleywalker commented 4 years ago

Fix this error message:

File "/group/mwa/software/mwapy/master/zeus/bin/fits_warp.py", line 707, in fnames[0], results.plot, results.smooth, results.sigcol, results.noisecol, results.SNR, results.latex) IndexError: list index out of range

to be more helpful to show that the xm.fits file didn't exist.