[yt-svn] commit/yt-3.0: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Jun 6 11:27:58 PDT 2013


2 new commits in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/c8bb677dde4d/
Changeset:   c8bb677dde4d
Branch:      yt-3.0
User:        MatthewTurk
Date:        2013-06-06 19:47:02
Summary:     Adding fix_axis to axis specification for 2D objects.

Fixes #585 .
Affected #:  1 file

diff -r ce7fd214cdcd2355cfffc5a81496cda31a044105 -r c8bb677dde4d65fd7723357d02d3fe509e9cb16b yt/data_objects/data_containers.py
--- a/yt/data_objects/data_containers.py
+++ b/yt/data_objects/data_containers.py
@@ -590,7 +590,7 @@
     _spatial = False
     def __init__(self, axis, pf, field_parameters):
         ParallelAnalysisInterface.__init__(self)
-        self.axis = axis
+        self.axis = fix_axis(axis)
         super(YTSelectionContainer2D, self).__init__(
             pf, field_parameters)
         self.set_field_parameter("axis", axis)


https://bitbucket.org/yt_analysis/yt-3.0/commits/a392d0b00fa3/
Changeset:   a392d0b00fa3
Branch:      yt-3.0
User:        ngoldbaum
Date:        2013-06-06 20:27:53
Summary:     Merged in MatthewTurk/yt-3.0 (pull request #44)

Adding fix_axis to axis specification for 2D objects.
Affected #:  1 file

diff -r fd8ca5d271fb9d21890b4f4fe61ecb416503c4e7 -r a392d0b00fa31a49aeb9e81c8e629ca64cdf8ca1 yt/data_objects/data_containers.py
--- a/yt/data_objects/data_containers.py
+++ b/yt/data_objects/data_containers.py
@@ -590,7 +590,7 @@
     _spatial = False
     def __init__(self, axis, pf, field_parameters):
         ParallelAnalysisInterface.__init__(self)
-        self.axis = axis
+        self.axis = fix_axis(axis)
         super(YTSelectionContainer2D, self).__init__(
             pf, field_parameters)
         self.set_field_parameter("axis", axis)

Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/

--

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