ratt-ru / CubiCal

A fast radio interferometric calibration suite.
GNU General Public License v2.0
18 stars 13 forks source link

Specifying an lsm which doesn't exist causes weird and uninformative crash. #332

Closed JSKenyon closed 4 years ago

JSKenyon commented 4 years ago

Basically, running:

gocubical test.parset --model-list foo.lsm.html

when foo.lsm.html doesn't exist does not cause a sensible early exit and error message. Instead it will get all the way to the model array construction step before barfing. This should be caught at the same point as we detect whether things are columns/lsms/etc.

JSKenyon commented 4 years ago

Fixed in #333