diff --git a/fixms/fix_ms_corrs.py b/fixms/fix_ms_corrs.py index bee89ce..992f05b 100644 --- a/fixms/fix_ms_corrs.py +++ b/fixms/fix_ms_corrs.py @@ -33,6 +33,10 @@ def set_pol_axis(ms: Path, pol_ang: u.Quantity, feed_idx: Optional[int] = None) # Backup the original RECEPTOR_ANGLE to INSTRUMENT_RECEPTOR_ANGLE with table((ms / "FEED").as_posix(), readonly=False, ack=False) as tf: + coldesc = makecoldesc( + "INSTRUMENT_RECEPTOR_ANGLE", tf.getcoldesc("RECEPTOR_ANGLE") + ) + tf.addcols(coldesc) tf.putcol("INSTRUMENT_RECEPTOR_ANGLE", ms_feed.to(u.rad).value) tf.flush() logger.info("Backed up the original RECEPTOR_ANGLE to INSTRUMENT_RECEPTOR_ANGLE") diff --git a/pyproject.toml b/pyproject.toml index f15f799..c646fb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fixms" -version = "0.2.5" +version = "0.2.6" description = "" authors = ["Alec Thomson (S&A, Kensington WA) "] readme = "README.md"