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

Modify --skip-sampling behavior to successfully generate plots #270

Merged

Conversation

bfhealy
Copy link
Collaborator

@bfhealy bfhealy commented Nov 14, 2023

This PR modifies the behavior of analysis.py when the --skip-sampling flag is set. The flag now initiates a single iteration of sampling that resumes from saved checkpoint files, allowing results/plots to be generated. This fixes an issue where plots failed to generate because the posterior_results.dat file was not saved until the conclusion of a sampling run.

Copy link
Member

@mcoughlin mcoughlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcoughlin mcoughlin merged commit ab73ce3 into nuclear-multimessenger-astronomy:main Nov 14, 2023
4 checks passed
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.

2 participants