Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Nov 16, 2022
1 parent 5fa3a4c commit 3ff22ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/swiftest/swiftest/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ def swiftest2xr(param, verbose=True):
# Check if the name variable contains unique values. If so, make name the dimension instead of id
if len(np.unique(ds['name'])) == len(ds['name']):
ds = ds.swap_dims({"id" : "name"})
sim.ds.reset_coords("id")
ds.reset_coords("id")
else:
print(f"Error encountered. OUT_TYPE {param['OUT_TYPE']} not recognized.")
return None
Expand Down

0 comments on commit 3ff22ee

Please sign in to comment.