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

fix for Result File From Resumed MCMC Fails to Save #370 #374

Merged
merged 4 commits into from
Aug 19, 2024
Merged

Conversation

sblunt
Copy link
Owner

@sblunt sblunt commented Aug 12, 2024

Hey @HenryDennen and @wbalmer, thanks for raising an issue about this! I could reproduce your issue, and the patch in this PR fixes it for me. Could you confirm that this works for you too, then I can pull it into main? Thanks!!

@sblunt sblunt requested a review from semaphoreP August 12, 2024 18:51
@sblunt
Copy link
Owner Author

sblunt commented Aug 12, 2024

I also extended an existing unit test to cover this situation, since the bug was occurring only after:

  • orbit run with Hipparcos IAD
  • orbit fit saved
  • orbit fit loaded into new results file
  • that new orbit fit is saved

@semaphoreP
Copy link
Collaborator

The fix is just to not delete the tmp file? Is that correct?

@sblunt
Copy link
Owner Author

sblunt commented Aug 12, 2024

yup!

@wbalmer
Copy link
Contributor

wbalmer commented Aug 16, 2024

I just confirmed that the fix works for Henry's gist example and some of my own code. Thanks Sarah!

@sblunt sblunt merged commit 2072ffd into main Aug 19, 2024
8 checks passed
@sblunt sblunt deleted the issue370_fix branch August 19, 2024 17:48
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.

3 participants