MWATelescope / mwa_hyperdrive

Calibration software for the Murchison Widefield Array (MWA) radio telescope
https://MWATelescope.github.io/mwa_hyperdrive
Mozilla Public License 2.0
69 stars 3 forks source link

Incorrectly inferring conversion output type #14

Closed robotopia closed 1 year ago

robotopia commented 2 years ago

When trying to convert from RTS to FITS, I get the following behaviour. If my command line is

hyperdrive solutions-convert -m example.metafits /dir/containing/rts output.fits

then

  1. if output.fits does not exist, then it tries to write an RTS solution to a folder named output.fits
  2. if output.fits already exists, and is a regular file, then it correctly writes a FITS file.
cjordan commented 1 year ago

I'm not sure exactly when this got fixed, but as of v0.2.1, things work as expected. As part of this release, 2ef57f6 fixed even more RTS-solution-reading problems.