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

Refresh the progress bars on exit #494

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

pablogsal
Copy link
Member

Closes: #486

Because we don't update the progress bars on every iteration, it is
possible that we finish without the bars reaching 100%, specially in
very small files. The progress bars normally dissapear so this is not
much of a problem, but in Jypiter notebooks the output may linger,
making it a bit confusing.

To avoid this problem, emit a last refresh on exit that updates the
status of the progress bars to 100%.

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
@pablogsal pablogsal enabled auto-merge (rebase) November 7, 2023 11:17
@pablogsal pablogsal merged commit 2defa44 into bloomberg:main Nov 7, 2023
33 of 34 checks passed
@pablogsal pablogsal deleted the last_refresh branch November 7, 2023 11:56
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.

The process completes without the file output progress bar reaching 100%.
2 participants