-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
An index mismatch is found during plotting of FNS-TOF (see snippet at the end). This is caused by the fact that the Fe-60 case experimental data does not have data at 66.8 degrees. This index mismatch is handled well in the excel side but becomes an issue when using subcases in plots.
To Reproduce
Run post-processing of FNS-TOF
Expected behavior
I think it is reasonable that JADE would be able to plot the data even with the missing data for one lib (since it is not a ratio plot). Nevertheless, if it proves too difficult or cumbersome to fix, we may add an experimental raw result with all null values for this specific subrun to solve the problem
Screenshots
Error snippet:
ERROR:root:Indices do not match between reference and mcnp - FENDL 3.2c: MultiIndex([( '0 deg', 0.011927),
( '0 deg', 0.0125385),
( '0 deg', 0.0131815),
( '0 deg', 0.013857),
( '0 deg', 0.0145675),
( '0 deg', 0.0153145),
( '0 deg', 0.0160995),
( '0 deg', 0.016925),
( '0 deg', 0.017793),
( '0 deg', 0.0187055),
...
('41.8 deg', 13.0795),
('41.8 deg', 13.75),
('41.8 deg', 14.455),
('41.8 deg', 15.196000000000002),
('41.8 deg', 15.9755),
('41.8 deg', 16.7945),
('41.8 deg', 17.6555),
('41.8 deg', 18.561),
('41.8 deg', 19.5125),
('41.8 deg', 20.464)],
names=['Angle', 'Energy'], length=600), MultiIndex([( '0 deg', 0.011927),
( '0 deg', 0.0125385),
( '0 deg', 0.0131815),
( '0 deg', 0.013857),
( '0 deg', 0.0145675),
( '0 deg', 0.0153145),
( '0 deg', 0.0160995),
( '0 deg', 0.016925),
( '0 deg', 0.017793),
( '0 deg', 0.0187055),
...
('66.8 deg', 13.0795),
('66.8 deg', 13.75),
('66.8 deg', 14.455),
('66.8 deg', 15.196),
('66.8 deg', 15.9755),
('66.8 deg', 16.7945),
('66.8 deg', 17.6555),
('66.8 deg', 18.561),
('66.8 deg', 19.5125),
('66.8 deg', 20.464)],
names=['Angle', 'Energy'], length=750)
Indices do not match between reference and mcnp - FENDL 3.2c: MultiIndex([( '0 deg', 0.011927),
( '0 deg', 0.0125385),
( '0 deg', 0.0131815),
( '0 deg', 0.013857),
( '0 deg', 0.0145675),
( '0 deg', 0.0153145),
( '0 deg', 0.0160995),
( '0 deg', 0.016925),
( '0 deg', 0.017793),
( '0 deg', 0.0187055),
...
('41.8 deg', 13.0795),
('41.8 deg', 13.75),
('41.8 deg', 14.455),
('41.8 deg', 15.196000000000002),
('41.8 deg', 15.9755),
('41.8 deg', 16.7945),
('41.8 deg', 17.6555),
('41.8 deg', 18.561),
('41.8 deg', 19.5125),
('41.8 deg', 20.464)],
names=['Angle', 'Energy'], length=600), MultiIndex([( '0 deg', 0.011927),
( '0 deg', 0.0125385),
( '0 deg', 0.0131815),
( '0 deg', 0.013857),
( '0 deg', 0.0145675),
( '0 deg', 0.0153145),
( '0 deg', 0.0160995),
( '0 deg', 0.016925),
( '0 deg', 0.017793),
( '0 deg', 0.0187055),
...
('66.8 deg', 13.0795),
('66.8 deg', 13.75),
('66.8 deg', 14.455),
('66.8 deg', 15.196),
('66.8 deg', 15.9755),
('66.8 deg', 16.7945),
('66.8 deg', 17.6555),
('66.8 deg', 18.561),
('66.8 deg', 19.5125),
('66.8 deg', 20.464)],
names=['Angle', 'Energy'], length=750)
Benchmarks: 46%|██████████████████████████████████████████▉ | 12/26 [16:42<19:29, 83.56s/it]
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\jade\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\ProgramData\Anaconda3\envs\jade\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\DATA\laghida\Documents\GitHub\JADE\src\jade\__main__.py", line 57, in <module>
main()
File "D:\DATA\laghida\Documents\GitHub\JADE\src\jade\__main__.py", line 51, in main
app.post_process()
File "D:\DATA\laghida\Documents\GitHub\JADE\src\jade\app\app.py", line 333, in post_process
atlas_processor.process()
File "D:\DATA\laghida\Documents\GitHub\JADE\src\jade\post\atlas_processor.py", line 89, in process
self._generate_expanded_plots(plot_cfg, cases, atlas)
File "D:\DATA\laghida\Documents\GitHub\JADE\src\jade\post\atlas_processor.py", line 108, in _generate_expanded_plots
self._generate_plot(cfg, data, atlas)
File "D:\DATA\laghida\Documents\GitHub\JADE\src\jade\post\atlas_processor.py", line 116, in _generate_plot
item = plot.plot()
File "D:\DATA\laghida\Documents\GitHub\JADE\src\jade\post\plotter.py", line 61, in plot
output = self._get_figure()
File "D:\DATA\laghida\Documents\GitHub\JADE\src\jade\post\plotter.py", line 553, in _get_figure
raise RuntimeError("Indices do not match.")
RuntimeError: Indices do not match.Desktop (please complete the following information):
- OS: Windows
- Version: jade v4.3.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working