[Yt-svn] yt-commit r622 - branches/yt-generalization/yt/lagos

joishi at wrangler.dreamhost.com joishi at wrangler.dreamhost.com
Tue Jun 24 14:39:25 PDT 2008


Author: joishi
Date: Tue Jun 24 14:39:25 2008
New Revision: 622
URL: http://yt.spacepope.org/changeset/622

Log:
* fixed bug in units for velocity


Modified:
   branches/yt-generalization/yt/lagos/DerivedFields.py

Modified: branches/yt-generalization/yt/lagos/DerivedFields.py
==============================================================================
--- branches/yt-generalization/yt/lagos/DerivedFields.py	(original)
+++ branches/yt-generalization/yt/lagos/DerivedFields.py	Tue Jun 24 14:39:25 2008
@@ -859,7 +859,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