[Yt-svn] yt-commit r984 - trunk/yt/lagos
britton at wrangler.dreamhost.com
britton at wrangler.dreamhost.com
Mon Dec 8 21:00:23 PST 2008
Author: britton
Date: Mon Dec 8 21:00:22 2008
New Revision: 984
URL: http://yt.spacepope.org/changeset/984
Log:
Changed field cuts so that "grid" is no longer prepended to field cuts
strings. The user must now add this themselves. This was necessary for the
new implementation of the light cone that now uses field cuts instead of
periodic regions to make the projections of varying depth.
Modified:
trunk/yt/lagos/BaseDataTypes.py
Modified: trunk/yt/lagos/BaseDataTypes.py
==============================================================================
--- trunk/yt/lagos/BaseDataTypes.py (original)
+++ trunk/yt/lagos/BaseDataTypes.py Mon Dec 8 21:00:22 2008
@@ -853,8 +853,6 @@
of that weight.
"""
AMR2DData.__init__(self, axis, field, pf, node_name = None, **kwargs)
- if field_cuts is not None:
- field_cuts = ['grid%s' % cut for cut in ensure_list(field_cuts)]
self._field_cuts = field_cuts
self.center = center
self._initialize_source(source)
More information about the yt-svn
mailing list