[Yt-svn] yt-commit r1382 - branches/yt-1.5/yt trunk/yt
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Sat Jul 18 20:43:51 PDT 2009
Author: mturk
Date: Sat Jul 18 20:43:50 2009
New Revision: 1382
URL: http://yt.spacepope.org/changeset/1382
Log:
Changed default center to 0.5, 0.5, 0.5.
Modified:
branches/yt-1.5/yt/commands.py
trunk/yt/commands.py
Modified: branches/yt-1.5/yt/commands.py
==============================================================================
--- branches/yt-1.5/yt/commands.py (original)
+++ branches/yt-1.5/yt/commands.py Sat Jul 18 20:43:50 2009
@@ -74,7 +74,7 @@
help="Desired units"),
center = dict(short="-c", long="--center",
action="store", type="float",
- dest="center", default=None,
+ dest="center", default=[0.5, 0.5, 0.5],
nargs=3,
help="Center (-1,-1,-1 for max)"),
bn = dict(short="-b", long="--basename",
Modified: trunk/yt/commands.py
==============================================================================
--- trunk/yt/commands.py (original)
+++ trunk/yt/commands.py Sat Jul 18 20:43:50 2009
@@ -74,7 +74,7 @@
help="Desired units"),
center = dict(short="-c", long="--center",
action="store", type="float",
- dest="center", default=None,
+ dest="center", default=[0.5, 0.5, 0.5],
nargs=3,
help="Center (-1,-1,-1 for max)"),
bn = dict(short="-b", long="--basename",
More information about the yt-svn
mailing list