Skip to content

Commit 4328247

Browse files
committed
xs not energy
1 parent af121c1 commit 4328247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openmc_data_to_json/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def extract_cross_section_data(h5_filename, json_filename):
122122

123123
reaction_at_temperature_dict['interpolation'] = tabular.interpolation
124124
reaction_at_temperature_dict['threshold_idx'] = tabular._threshold_idx
125-
reaction_at_temperature_dict['xs'] = tabular.x
125+
reaction_at_temperature_dict['xs'] = tabular.y
126126

127127
result['reactions'][temperature][reaction_mt] = reaction_at_temperature_dict
128128

0 commit comments

Comments
 (0)