[Yt-svn] yt-commit r621 - trunk/yt/lagos
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Tue Jun 24 14:37:06 PDT 2008
Author: mturk
Date: Tue Jun 24 14:37:06 2008
New Revision: 621
URL: http://yt.spacepope.org/changeset/621
Log:
JSOishi caught this. x-velocity units were set incorrectly.
Modified:
trunk/yt/lagos/DerivedFields.py
Modified: trunk/yt/lagos/DerivedFields.py
==============================================================================
--- trunk/yt/lagos/DerivedFields.py (original)
+++ trunk/yt/lagos/DerivedFields.py Tue Jun 24 14:37:06 2008
@@ -858,7 +858,7 @@
return data.convert("x-velocity")
for ax in ['x','y','z']:
f = fieldInfo["%s-velocity" % ax]
- f.units = r"\rm{km}/\rm{s}"
+ f._units = r"\rm{km}/\rm{s}"
f._convert_function = _convertVelocity
f.take_log = False
More information about the yt-svn
mailing list