From 0dc6f463ed080cadc1cda9d44b5102ae4ae367de Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Thu, 31 Mar 2022 14:47:39 -0500 Subject: [PATCH] Change 'type' to 'from_mode' for decay sublibrary continuous spectra. Closes #2017 --- openmc/data/decay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/data/decay.py b/openmc/data/decay.py index a0402b47d..5ca2b235a 100644 --- a/openmc/data/decay.py +++ b/openmc/data/decay.py @@ -442,7 +442,7 @@ class Decay(EqualityMixin): # Read continuous spectrum ci = {} params, ci['probability'] = get_tab1_record(file_obj) - ci['type'] = get_decay_modes(params[0]) + ci['from_mode'] = get_decay_modes(params[0]) # Read covariance (Ek, Fk) table LCOV = params[3]