Skip to content

Commit

Permalink
Merge pull request #4713 from meeseeksmachine/auto-backport-of-pr-468…
Browse files Browse the repository at this point in the history
…6-on-yt-4.3.x
  • Loading branch information
neutrinoceros authored Oct 26, 2023
2 parents 534ea57 + 2b94802 commit a6c36e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yt/frontends/cholla/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ def _parse_parameter_file(self):
attrs = h5f.attrs
self.parameters = dict(attrs.items())
self.domain_left_edge = attrs["bounds"][:].astype("=f8")
self.domain_right_edge = attrs["domain"][:].astype("=f8")
self.domain_right_edge = self.domain_left_edge + attrs["domain"][:].astype(
"=f8"
)
self.dimensionality = len(attrs["dims"][:])
self.domain_dimensions = attrs["dims"][:].astype("=f8")
self.current_time = attrs["t"][:]
Expand Down

0 comments on commit a6c36e1

Please sign in to comment.