Copy hidden _fpy attribute when reducing depletion chain

This commit is contained in:
Paul Romano 2020-06-23 22:18:10 -05:00
parent 23072d1713
commit 63c13cddd6

View file

@ -965,6 +965,8 @@ class Chain:
new_nuclide = Nuclide(previous.name)
new_nuclide.half_life = previous.half_life
new_nuclide.decay_energy = previous.decay_energy
if hasattr(previous, '_fpy'):
new_nuclide._fpy = previous._fpy
new_decay = []
for mode in previous.decay_modes: