Skip to content

Better way to check if plot settings are valid #77

Description

@pshriwise

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:

  1. Use plotter to view model
  2. Discover problem in model
  3. Close GUI (plot_settings.pkl is written)
  4. Model is extended or changed
  5. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions