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 error in NautilusSampler when saving outputs #163

Merged
merged 4 commits into from
Jan 7, 2025

Conversation

ajshajib
Copy link
Contributor

@ajshajib ajshajib commented Dec 27, 2024

This PR fixes an error when saving the output from the Nautilus sampler. It checks whether the blob variable is an array of floats or tuples and then refactors them appropriately for saving/processing. This will close #162.

@ajshajib ajshajib marked this pull request as ready for review December 27, 2024 05:19
@joezuntz
Copy link
Owner

joezuntz commented Jan 7, 2025

Hi @ajshajib - many thanks for this!

Many of the changes seem to be formatting-only, which confuses the PR. Would you be able to revert those changes and just leave the ones that make the actual change, so I can understand it properly? I think many editors make these changes automatically.

Cheers,
Joe

@ajshajib
Copy link
Contributor Author

ajshajib commented Jan 7, 2025

I have reverted the formatting-only changes.

@joezuntz
Copy link
Owner

joezuntz commented Jan 7, 2025

Thanks! Just running the tests now then once they pass I will merge.

@joezuntz joezuntz merged commit 4acbff7 into joezuntz:main Jan 7, 2025
17 checks passed
@joezuntz
Copy link
Owner

joezuntz commented Jan 7, 2025

Thanks!

@ajshajib ajshajib deleted the bugfix/nautilus_sampler branch January 7, 2025 12:40
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.

Error when using Nautilus sampler
2 participants