[yt-svn] commit/yt: ChrisMalone: Merged in ngoldbaum/yt/yt-3.0 (pull request #1077)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Jul 25 13:16:29 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/4540c772c86b/
Changeset:   4540c772c86b
Branch:      yt-3.0
User:        ChrisMalone
Date:        2014-07-25 22:16:21
Summary:     Merged in ngoldbaum/yt/yt-3.0 (pull request #1077)

Adding "yt" and "pf" to the local namespace for the "yt load" command.
Affected #:  1 file

diff -r d2971ed1842a7ab74319c19e8cdd00693e2fe934 -r 4540c772c86ba37c5f7a099bfc1ab3cad8a2fab7 yt/utilities/command_line.py
--- a/yt/utilities/command_line.py
+++ b/yt/utilities/command_line.py
@@ -880,6 +880,7 @@
             print "Could not load file."
             sys.exit()
         import yt.mods
+        import yt
 
         import IPython
         from distutils import version
@@ -890,6 +891,8 @@
 
         local_ns = yt.mods.__dict__.copy()
         local_ns['ds'] = args.ds
+        local_ns['pf'] = args.ds
+        local_ns['yt'] = yt
 
         if api_version == '0.10':
             shell = IPython.Shell.IPShellEmbed()

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