[Yt-svn] yt-commit r1541 - branches/yt-1.5/yt/lagos
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Mon Nov 23 13:11:30 PST 2009
Author: mturk
Date: Mon Nov 23 13:11:29 2009
New Revision: 1541
URL: http://yt.enzotools.org/changeset/1541
Log:
Thanks to Cameron Hummels for reporting this -- somehow the comoving units got
removed somewhere along the way. Also, apologies to Cameron for me being
figuring this out sooner!
Modified:
branches/yt-1.5/yt/lagos/OutputTypes.py
Modified: branches/yt-1.5/yt/lagos/OutputTypes.py
==============================================================================
--- branches/yt-1.5/yt/lagos/OutputTypes.py (original)
+++ branches/yt-1.5/yt/lagos/OutputTypes.py Mon Nov 23 13:11:29 2009
@@ -346,6 +346,7 @@
for unit in mpc_conversion:
self.units[unit] = mpc_conversion[unit] * box_proper
self.units[unit+'h'] = mpc_conversion[unit] * box_proper * h
+ self.units[unit+'cm'] = mpc_conversion[unit] * boxcm_uncal
self.units[unit+'hcm'] = mpc_conversion[unit] * boxcm_cal
def _setup_getunits_units(self):
More information about the yt-svn
mailing list