Fix bug in autodetermining root universe (didn't account for lattice outer)

This commit is contained in:
Paul Romano 2017-03-10 07:13:38 -06:00
parent f805fddb6b
commit 97d99f1625

View file

@ -49,7 +49,7 @@ class Summary(object):
@property
def date_and_time(self):
return self._f.attrs['date_and_time']
return self._f.attrs['date_and_time'].decode()
@property
def geometry(self):
@ -185,6 +185,8 @@ class Summary(object):
for idx in fill._natural_indices:
univ = fill.get_universe(idx)
fill_univ_ids.add(univ.id)
if fill.outer is not None:
fill_univ_ids.add(fill.outer.id)
# Set the fill for the Cell
cells[cell_id].fill = fill