diff --git a/src/pyuvdata/uvdata/mir_meta_data.py b/src/pyuvdata/uvdata/mir_meta_data.py index 4e0933ad4..6d2f91ea7 100644 --- a/src/pyuvdata/uvdata/mir_meta_data.py +++ b/src/pyuvdata/uvdata/mir_meta_data.py @@ -2947,8 +2947,8 @@ def _writefile(self, filepath=None, *, append_data=False, datamask=...): with open(filepath, "a" if append_data else "w+") as file: for antpos in self._data[datamask]: file.write( - f"{antpos["antenna"]} {antpos["xyz_pos"][0]:.17e} " - f"{antpos["xyz_pos"][1]:.17e} {antpos["xyz_pos"][2]:.17e}\n" + f"{antpos['antenna']} {antpos['xyz_pos'][0]:.17e} " + f"{antpos['xyz_pos'][1]:.17e} {antpos['xyz_pos'][2]:.17e}\n" )