I have created mgxs cross section for 56 energy groups following the instruction and example in GitHub. When I try to Plot my results, I get this error:
fig = openmc.plot_xs('U235', ['fission'])
File “/dss/dsshome1/0C/ge25kij2/.local/lib/python3.8/site-packages/openmc/plotter.py”, line 169, in plot_xs
for this, types in reactions.items():
AttributeError: ‘str’ object has no attribute ‘items’
hi Mary, I think you are using old notebook example from github, so I recommend you to download the latest version that has been updated GitHub - openmc-dev/openmc-notebooks: Example Jupyter notebooks for OpenMC since there is some difference on some part of the input. in your case, I think the input parameter for plot_xs reactions parameter should be some kind of dictionary