[Yt-svn] yt-commit r1194 - trunk/yt/extensions/lightcone
britton at wrangler.dreamhost.com
britton at wrangler.dreamhost.com
Sat Feb 28 06:57:45 PST 2009
Author: britton
Date: Sat Feb 28 06:57:45 2009
New Revision: 1194
URL: http://yt.spacepope.org/changeset/1194
Log:
Fixed problem with redshifts attribute in light cone hdf5 output files.
Modified:
trunk/yt/extensions/lightcone/LightCone.py
Modified: trunk/yt/extensions/lightcone/LightCone.py
==============================================================================
--- trunk/yt/extensions/lightcone/LightCone.py (original)
+++ trunk/yt/extensions/lightcone/LightCone.py Sat Feb 28 06:57:45 2009
@@ -661,7 +661,7 @@
"Save the light cone projection stack as a 3d array in and hdf5 file."
# Make list of redshifts to include as a dataset attribute.
- redshiftList = [slice['redshift'] for slice in self.lightConeSolution]
+ redshiftList = na.array([slice['redshift'] for slice in self.lightConeSolution])
field_node = "%s_%s" % (field,weight_field)
weight_field_node = "weight_field_%s" % weight_field
More information about the yt-svn
mailing list