Error plotting meshtally

Hye everyone…

I installed a fresh copy of openmc and now having trouble plotting meshtally.

Traceback (most recent call last):
File “plot_mesh_tally.py”, line 328, in
app = MeshPlotter(root, filename)
File “plot_mesh_tally.py”, line 42, in init
self.get_file_data(filename)
File “plot_mesh_tally.py”, line 295, in get_file_data
self.datafile.generate_stdev()
AttributeError: ‘StatePoint’ object has no attribute ‘generate_stdev’

thanks in advance for your help

I would recommend using a release version of OpenMC rather than the ‘develop’ branch which is not guaranteed to be stable. In this case, the statepoint.py file recently changed and not all the utilities have been updated accordingly. They will be fixed by the time of the next release.

Best,
Paul

FYI- the plot_mesh_tally.py script has been fixed on the developmental branch. See: https://github.com/mit-crpg/openmc/pull/378

Best,
Paul