[Yt-svn] yt: 2 new changesets

hg at spacepope.org hg at spacepope.org
Mon Dec 13 15:21:55 PST 2010


hg Repository: yt
details:   yt/rev/b5fd22be1f64
changeset: 3605:b5fd22be1f64
user:      J.S. Oishi <jsoishi at gmail.com>
date:
Mon Dec 13 15:17:11 2010 -0800
description:
a fix for parallel computations with fields that need ghost zones, as per matt's suggestion.

hg Repository: yt
details:   yt/rev/c8f2b747dcfb
changeset: 3606:c8f2b747dcfb
user:      J.S. Oishi <jsoishi at gmail.com>
date:
Mon Dec 13 15:21:52 2010 -0800
description:
merged

diffstat:

 yt/data_objects/field_info_container.py |  2 +-
 yt/visualization/plot_types.py          |  1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 5547a19cc6fb -r c8f2b747dcfb yt/data_objects/field_info_container.py
--- a/yt/data_objects/field_info_container.py	Mon Dec 13 14:52:52 2010 -0800
+++ b/yt/data_objects/field_info_container.py	Mon Dec 13 15:21:52 2010 -0800
@@ -285,7 +285,7 @@
         if self._function.func_name == '<lambda>':
             e.requested.append(self.name)
         else:
-            self(e)
+            e[self.name]
         return e
 
     def get_units(self):
diff -r 5547a19cc6fb -r c8f2b747dcfb yt/visualization/plot_types.py
--- a/yt/visualization/plot_types.py	Mon Dec 13 14:52:52 2010 -0800
+++ b/yt/visualization/plot_types.py	Mon Dec 13 15:21:52 2010 -0800
@@ -231,7 +231,6 @@
             elif hasattr(matplotlib.cm, cmap):
                 cmap = getattr(matplotlib.cm, cmap)
         self.cmap = cmap
-        self._redraw_image()
         
     def __setitem__(self, item, val):
         self.im[item] = val



More information about the yt-svn mailing list