Now clear any old tallies in MGXS.load_from_statepoint(...)

This commit is contained in:
wbinventor@gmail.com 2016-01-28 13:54:38 -05:00
parent 1e89fd53e6
commit 3cbea749cb

View file

@ -612,6 +612,11 @@ class MGXS(object):
filters = []
filter_bins = []
# Clear any tallies previously loaded from a statepoint
self._tallies = None
self._xs_tally = None
self._rxn_rate_tally = None
# Find, slice and store Tallies from StatePoint
# The tally slicing is needed if tally merging was used
for tally_type, tally in self.tallies.items():