Skip to content

Commit

Permalink
Merge pull request #4686 from mabruzzo/cholla-bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros authored Oct 26, 2023
2 parents 9bd319d + 8a905e6 commit 8a43695
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 8a43695

Please sign in to comment.