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

Bitbucket commits-noreply at bitbucket.org
Wed Nov 16 09:06:41 PST 2011


2 new commits in yt:


https://bitbucket.org/yt_analysis/yt/changeset/f598adaa6c25/
changeset:   f598adaa6c25
branch:      yt
user:        brittonsmith
date:        2011-11-16 18:06:00
summary:     Fixing time series loading from OutputLog for altered format
of that file.
affected #:  1 file

diff -r 2e021f76e045f9a4da12e2f772715f8aa34c880d -r f598adaa6c256b12c53a52553bd3a12d77726ebf yt/data_objects/time_series.py
--- a/yt/data_objects/time_series.py
+++ b/yt/data_objects/time_series.py
@@ -112,7 +112,8 @@
         outputs = []
         for line in open(output_log):
             if not line.startswith(line_prefix): continue
-            fn = line[len(line_prefix):].strip()
+            cut_line = line[len(line_prefix):].strip()
+            fn = cut_line.split()[0]
             outputs.append(load(fn))
         obj = cls(outputs)
         return obj



https://bitbucket.org/yt_analysis/yt/changeset/39f7354e6164/
changeset:   39f7354e6164
branch:      yt
user:        brittonsmith
date:        2011-11-16 18:06:35
summary:     Merged.
affected #:  1 file

diff -r f598adaa6c256b12c53a52553bd3a12d77726ebf -r 39f7354e61643d0c9b89f5cdbda2569fb9a06c47 scripts/iyt
--- a/scripts/iyt
+++ b/scripts/iyt
@@ -7,7 +7,9 @@
 
 doc = """\
 
-Welcome to yt!
+==================
+| Welcome to yt! |
+==================
 
 """
 
@@ -41,7 +43,8 @@
     ip_shell = IPython.Shell.IPShellMatplotlib(user_ns=namespace)
 elif api_version == "0.11":
     from IPython.frontend.terminal.interactiveshell import TerminalInteractiveShell
-    ip_shell = TerminalInteractiveShell(user_ns=namespace)
+    ip_shell = TerminalInteractiveShell(user_ns=namespace, banner1 = doc,
+                    display_banner = True)
     if "DISPLAY" in os.environ: ip_shell.enable_pylab(import_all=False)
 else:
     raise RuntimeError

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