We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9bd319d + 8a905e6 commit 8a43695Copy full SHA for 8a43695
1 file changed
yt/frontends/cholla/data_structures.py
@@ -103,7 +103,9 @@ def _parse_parameter_file(self):
103
attrs = h5f.attrs
104
self.parameters = dict(attrs.items())
105
self.domain_left_edge = attrs["bounds"][:].astype("=f8")
106
- self.domain_right_edge = attrs["domain"][:].astype("=f8")
+ self.domain_right_edge = self.domain_left_edge + attrs["domain"][:].astype(
107
+ "=f8"
108
+ )
109
self.dimensionality = len(attrs["dims"][:])
110
self.domain_dimensions = attrs["dims"][:].astype("=f8")
111
self.current_time = attrs["t"][:]
0 commit comments