[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Jul 25 13:16:27 PDT 2014
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/94e36ce4fab5/
Changeset: 94e36ce4fab5
Branch: yt-3.0
User: ngoldbaum
Date: 2014-07-25 20:40:32
Summary: Adding "yt" and "pf" to the local namespace for the "yt load" command.
Affected #: 1 file
diff -r 32002f89fa54ab07665d516508ed7edcf260aaa5 -r 94e36ce4fab5dbeacf3d8b774d252c473abb6910 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()
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