Skip to content

Changing the default tqdm output stream.#476

Merged
zivy merged 1 commit intoInsightSoftwareConsortium:masterfrom
zivy:tqdmTostdout
Apr 3, 2025
Merged

Changing the default tqdm output stream.#476
zivy merged 1 commit intoInsightSoftwareConsortium:masterfrom
zivy:tqdmTostdout

Conversation

@zivy
Copy link
Copy Markdown
Member

@zivy zivy commented Apr 2, 2025

By default tqdm prints to sys.stderr. Change it to print to sys.stdout so that error messages originating in underlying libraries that cannot be silenced can be redirected to file and the progress bar is still visible.

By default tqdm prints to sys.stderr. Change it to print to
sys.stdout so that error messages originating in underlying libraries
that cannot be silenced can be redirected to file and the progress bar
is still visible.
@zivy zivy merged commit 7ab41da into InsightSoftwareConsortium:master Apr 3, 2025
9 checks passed
@zivy zivy deleted the tqdmTostdout branch April 3, 2025 23:26
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