Skip to content

Commit

Permalink
fix quoting inside f string
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton committed Dec 2, 2024
1 parent 54f54c5 commit 3155e26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyuvdata/uvdata/mir_meta_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)


Expand Down

0 comments on commit 3155e26

Please sign in to comment.