[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Sat Jul 12 07:28:52 PDT 2014
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/0d161bb930c0/
Changeset: 0d161bb930c0
Branch: yt-3.0
User: ngoldbaum
Date: 2014-07-11 18:04:44
Summary: Generate index for tipsy if we cannot infer domain boundaries from metadata. Closes #815.
Affected #: 1 file
diff -r 14dfbdf28b07dd18e112abafce364d04a4864829 -r 0d161bb930c06ab7dcc2c6b0938d09bd8d6bb557 yt/frontends/sph/data_structures.py
--- a/yt/frontends/sph/data_structures.py
+++ b/yt/frontends/sph/data_structures.py
@@ -508,6 +508,13 @@
f.close()
+ def _set_derived_attrs(self):
+ if self.domain_left_edge is None or self.domain_right_edge is None:
+ self.domain_left_edge = np.nan
+ self.domain_right_edge = np.nan
+ self.index
+ super(TipsyDataset, self)._set_derived_attrs()
+
def _set_code_unit_attributes(self):
if self.cosmological_simulation:
mu = self.parameters.get('dMsolUnit', 1.)
https://bitbucket.org/yt_analysis/yt/commits/dc4dbbeec944/
Changeset: dc4dbbeec944
Branch: yt-3.0
User: MatthewTurk
Date: 2014-07-12 16:28:47
Summary: Merged in ngoldbaum/yt/yt-3.0 (pull request #1010)
Generate index for tipsy if we cannot infer domain boundaries from metadata. Closes #815.
Affected #: 1 file
diff -r 1a47e73ec267b98ead72a5dd02b89aa045ecb25d -r dc4dbbeec944437ffbb5861c74aec51722db2a29 yt/frontends/sph/data_structures.py
--- a/yt/frontends/sph/data_structures.py
+++ b/yt/frontends/sph/data_structures.py
@@ -508,6 +508,13 @@
f.close()
+ def _set_derived_attrs(self):
+ if self.domain_left_edge is None or self.domain_right_edge is None:
+ self.domain_left_edge = np.nan
+ self.domain_right_edge = np.nan
+ self.index
+ super(TipsyDataset, self)._set_derived_attrs()
+
def _set_code_unit_attributes(self):
if self.cosmological_simulation:
mu = self.parameters.get('dMsolUnit', 1.)
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list