Skip to content
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

Write output files if an error occurs during model fitting #55

Merged
merged 7 commits into from
Jul 28, 2024
Merged

Conversation

mhovd
Copy link
Collaborator

@mhovd mhovd commented Jul 24, 2024

This allows the user restart the model with the given theta. Note: depending on where the algorithm failed, the theta may be subject to another iteration of the adaptive grid - causing incompatible shapes for calculating the posterior. This too is wrapped, but potentially not exhaustibly.

Additionally, write_outputs now only relies on self.settings, instead of manually providing the arguments.

This allows the user restart the model with the given theta. Note: depending on where the algorithm failed, the theta may be subject to another iteration of the adaptive grid - causing incompatible shapes for calculating the posterior. This too is wrapped, but potentially not exhaustibly.

Additionally, write_outputs now only relies on self.settings, instead of manually providing the arguments.
@mhovd mhovd marked this pull request as ready for review July 27, 2024 17:15
@mhovd mhovd merged commit 11fd700 into main Jul 28, 2024
3 checks passed
@mhovd mhovd deleted the recover branch July 28, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant