added list conversion when using HDF5 for mesh reading

This commit is contained in:
Bryan Herman 2013-04-03 10:56:20 -04:00
parent 4316904cb4
commit 8737ce22dc

View file

@ -505,8 +505,7 @@ class StatePoint(object):
# check for mesh
if tally.filters.keys()[n_filters - i - 1] == 'mesh':
mesh_idx = tally.filters['mesh'].bins
dims = self.meshes[tally.filters['mesh'].bins[0] - 1].dimension
dims = list(self.meshes[tally.filters['mesh'].bins[0] - 1].dimension)
dims.reverse()
dims = np.asarray(dims)
if score_str == 'current':