[yt-svn] commit/yt-3.0: MatthewTurk: Fixing iyt

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Mar 6 15:02:21 PST 2013


1 new commit in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/6658890fa0fa/
changeset:   6658890fa0fa
branch:      yt-3.0
user:        MatthewTurk
date:        2013-03-07 00:02:08
summary:     Fixing iyt
affected #:  1 file

diff -r 50e6460dade1bc6cdd62012f7427f5c079f2fbe3 -r 6658890fa0fa5ee183ddc20d0098f151f0d531f8 scripts/iyt
--- a/scripts/iyt
+++ b/scripts/iyt
@@ -2,7 +2,7 @@
 import os, re
 from distutils import version
 from yt.mods import *
-from yt.data_objects.data_containers import AMRData
+from yt.data_objects.data_containers import YTDataContainer
 namespace = locals().copy()
 namespace.pop("__builtins__", None)
 
@@ -116,7 +116,7 @@
         except:
             raise IPython.ipapi.TryNext 
         
-    if isinstance(obj, (AMRData, ) ):
+    if isinstance(obj, (YTDataContainer, ) ):
         #print "COMPLETING ON THIS THING"
         all_fields = [f for f in sorted(
                 obj.pf.h.field_list + obj.pf.h.derived_field_list)]

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