[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Jul 20 12:16:28 PDT 2015
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/ed2f3671ac39/
Changeset: ed2f3671ac39
Branch: yt
User: BW Keller
Date: 2015-07-17 15:55:42+00:00
Summary: Leave bbox as a Numpy array until it has units assigned.
Affected #: 1 file
diff -r 0d6ac4368c991d9fd829d41fd4499c52971045e9 -r ed2f3671ac39a4e925c474b4870722527a6a63d9 yt/frontends/tipsy/data_structures.py
--- a/yt/frontends/tipsy/data_structures.py
+++ b/yt/frontends/tipsy/data_structures.py
@@ -180,7 +180,7 @@
self.domain_left_edge = None
self.domain_right_edge = None
else:
- bbox = self.arr(self.bounding_box, dtype="float64")
+ bbox = np.array(self.bounding_box, dtype="float64")
if bbox.shape == (2, 3):
bbox = bbox.transpose()
self.domain_left_edge = bbox[:,0]
https://bitbucket.org/yt_analysis/yt/commits/f7ccf8f8c2ac/
Changeset: f7ccf8f8c2ac
Branch: yt
User: MatthewTurk
Date: 2015-07-20 19:02:02+00:00
Summary: Merging in pull request from Ben
Affected #: 1 file
diff -r eef682fe125dc8f36c86c89453fc7ab6481c994d -r f7ccf8f8c2acb08db875fd86cc0d4437b5801962 yt/frontends/tipsy/data_structures.py
--- a/yt/frontends/tipsy/data_structures.py
+++ b/yt/frontends/tipsy/data_structures.py
@@ -180,7 +180,7 @@
self.domain_left_edge = None
self.domain_right_edge = None
else:
- bbox = self.arr(self.bounding_box, 'code_length', dtype="float64")
+ bbox = np.array(self.bounding_box, dtype="float64")
if bbox.shape == (2, 3):
bbox = bbox.transpose()
self.domain_left_edge = bbox[:,0]
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