mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Small fix in plot_xs when S(a,b) tables are present
This commit is contained in:
parent
3f8f8f6701
commit
80dad0f240
1 changed files with 1 additions and 1 deletions
|
|
@ -563,7 +563,7 @@ def _calculate_cexs_elem_mat(this, types, temperature=294.,
|
|||
for nuclide in nuclides.items():
|
||||
sabs[nuclide[0]] = None
|
||||
if isinstance(this, openmc.Material):
|
||||
for sab_name in this._sab:
|
||||
for sab_name, _ in this._sab:
|
||||
sab = openmc.data.ThermalScattering.from_hdf5(
|
||||
library.get_by_material(sab_name, data_type='thermal')['path'])
|
||||
for nuc in sab.nuclides:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue