Closed kkiesling closed 2 years ago
Don't merge this yet- I think moving the point at which the model settings are restored messed with some other things. If we check the whole file, then that doesn't need to be moved to the end anyway. So let me change that back.
Now this should be good
Thanks @kkiesling!
closes #77
If either the materials IDs or cell IDs are altered between when the GUI was last closed and when it is reopened with the
plot_settings.pkl
file, this will ignore the settings file (previously this would cause an error).In order for this to work,
restoreModelSettings()
has to be called after the cell and material IDs have been populated in the model (ie, after the plot model is no longer "frozen").Are there any other properties/model changes that could cause these errors that are not captured in cell IDs and mat IDs?