Skip to content

Commit

Permalink
Update yt/frontends/athena_pp/data_structures.py
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Robert <cr52@protonmail.com>
  • Loading branch information
forrestglines and neutrinoceros committed Feb 5, 2024
1 parent 4c48783 commit 4e5cce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/frontends/athena_pp/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __init__(

geom = self._handle.attrs["Coordinates"].decode("utf-8")
self.geometry = Geometry(geom_map[geom])
if geom_map[geom] == "cylindrical":
if self.geometry == "cylindrical":
axis_order = ("r","theta","z")
else:
axis_order = None
Expand Down

0 comments on commit 4e5cce3

Please sign in to comment.