Right now we get a lot of errors if the plot_settings.pkl file doesn't match the current model closely enough when starting the plotter. This happens often when building a model:
- Use plotter to view model
- Discover problem in model
- Close GUI (
plot_settings.pkl is written)
- Model is extended or changed
- Re-load plotter and get a long list of errors about keys not found in the ID mapping
It would be really useful to have some kind of automated detection as to whether or not that file is still valid for the model. This will likely require some hashing of the XML files, which might be a useful feature to add to OpenMC itself.
Right now we get a lot of errors if the
plot_settings.pklfile doesn't match the current model closely enough when starting the plotter. This happens often when building a model:plot_settings.pklis written)It would be really useful to have some kind of automated detection as to whether or not that file is still valid for the model. This will likely require some hashing of the XML files, which might be a useful feature to add to OpenMC itself.