[Yt-svn] commit/yt: MatthewTurk: Swapping out old-style (now "overlap_proj") for new-style (previously
Bitbucket
commits-noreply at bitbucket.org
Mon Jun 6 12:01:02 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/251be7efa291/
changeset: 251be7efa291
branches:
user: MatthewTurk
date: 2011-06-06 21:00:56
summary: Swapping out old-style (now "overlap_proj") for new-style (previously
"quad_proj") projections.
affected #: 1 file (3 bytes)
--- a/yt/data_objects/data_containers.py Sat Jun 04 15:10:12 2011 -0400
+++ b/yt/data_objects/data_containers.py Mon Jun 06 12:00:56 2011 -0700
@@ -1421,7 +1421,7 @@
class AMRQuadTreeProjBase(AMR2DData):
_top_node = "/Projections"
_key_fields = AMR2DData._key_fields + ['weight_field']
- _type_name = "quad_proj"
+ _type_name = "proj"
_con_args = ('axis', 'field', 'weight_field')
def __init__(self, axis, field, weight_field = None,
max_level = None, center = None, pf = None,
@@ -1705,7 +1705,7 @@
class AMRProjBase(AMR2DData):
_top_node = "/Projections"
_key_fields = AMR2DData._key_fields + ['weight_field']
- _type_name = "proj"
+ _type_name = "overlap_proj"
_con_args = ('axis', 'field', 'weight_field')
def __init__(self, axis, field, weight_field = None,
max_level = None, center = None, pf = None,
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