openmc-dev / plotter

Native plotting GUI for model design and verification
MIT License
48 stars 18 forks source link

Adding option to ignore the plot_settings.pkl file #76

Closed pshriwise closed 2 years ago

pshriwise commented 2 years ago

Another convenience PR. If domain IDs change, we get a bunch of key errors when trying to lookup their colors in the DomainModel's loaded from the plot_settings.pkl. The better long-term solution is to provide better detection for the validity of the settings file when starting the plotter, but for now this will at least let one start the plotter without having to remove this file manually.

paulromano commented 2 years ago

Simple enough; thanks!