Skip to content

Clear progress bar if single-chain sampling errors #170

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

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

penelopeysm
Copy link
Member

Overlooked this in #168.

ProgressLogging.@withprogress introduces a try/finally block to handle this: https://github.com/JuliaLogging/ProgressLogging.jl/blob/7c4983631f5eaaa00c121d1a355b7020dc7ef733/src/ProgressLogging.jl#L327-L332

I removed the macro, and forgot to put the try/finally back.

Tested locally.

Copy link
Contributor

AbstractMCMC.jl documentation for PR #170 is available at:
https://TuringLang.github.io/AbstractMCMC.jl/previews/PR170/

@penelopeysm penelopeysm force-pushed the py/clear-progress-bar-on-error branch 2 times, most recently from efeb905 to f1e31be Compare July 30, 2025 12:04
@penelopeysm penelopeysm force-pushed the py/clear-progress-bar-on-error branch from f1e31be to 2595679 Compare July 30, 2025 12:10
@penelopeysm penelopeysm merged commit 33fdad8 into main Jul 30, 2025
18 checks passed
@penelopeysm penelopeysm deleted the py/clear-progress-bar-on-error branch July 30, 2025 13:11
Copy link

codecov bot commented Jul 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (2809e90) to head (2595679).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #170   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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