-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export Results / Save hangs upon errors in serialization #174
Comments
Not sure if this is specific to webview - if not, will apply fix to master branch too. |
Huh... There is already a try/catch (and a helpful warning!) in that save_json function. I wonder why it's not working as expected? I'll try making a simple model with a Function to see if I can reproduce. |
Previous error was when I said "Export Results" after a DREAM fit. This traceback is after "Export Results" on a DE fit (no uncertainty state)
|
Version used: Not sure which branch this is compiling from. |
Ah yes - I see there's no try/catch around the serialization of the fitProblem in I just rebuilt Refl1D-windows-exe-webview-jupyter.tar.gz, if you want to try it out. |
When exporting results, an error in saving out the .json model file (in this case, because I had parameterized using functions, for which serialization has not yet been implemented) prevents the exporting of any subsequent files, such as mcmc or plot files. A simple try catch along with a warning to the user about which files were not properly saved should be a sufficient fix.
The text was updated successfully, but these errors were encountered: