From 3e5afd21eb67512c05111ad49e848b52f85dc981 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Fri, 22 Jul 2022 16:42:24 -0500 Subject: [PATCH] Add missing definition of _sources in Decay.__init__ --- openmc/data/decay.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openmc/data/decay.py b/openmc/data/decay.py index 96c3f562af..2c2505bf56 100644 --- a/openmc/data/decay.py +++ b/openmc/data/decay.py @@ -337,6 +337,7 @@ class Decay(EqualityMixin): self.modes = [] self.spectra = {} self.average_energies = {} + self._sources = None # Get head record items = get_head_record(file_obj)