From 1703d2a3ca4ab41a004c1bcee5bbf215117eaf70 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Mon, 20 Jul 2020 21:11:03 -0500 Subject: [PATCH] Replace missing reaction product in depletion chain generation --- openmc/deplete/chain.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openmc/deplete/chain.py b/openmc/deplete/chain.py index 9feeb84834..376ada88e6 100644 --- a/openmc/deplete/chain.py +++ b/openmc/deplete/chain.py @@ -413,7 +413,9 @@ class Chain: chain.reactions.append(name) if daughter not in decay_data: - missing_rx_product.append((parent, name, daughter)) + daughter = replace_missing(daughter, decay_data) + if daughter is None: + missing_rx_product.append((parent, name, daughter)) # Store Q value for mt in sorted(mts):