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

All tqdm instances should include a description. #941

Open
jgostick opened this issue Mar 26, 2024 · 1 comment
Open

All tqdm instances should include a description. #941

jgostick opened this issue Mar 26, 2024 · 1 comment

Comments

@jgostick
Copy link
Member

jgostick commented Mar 26, 2024

The tqdm function accepts the desc keyword, which will then include a text description of what the progress bar is doing. We should probably fetch the function name where tqdm is actually running and at least include this, like info = inspect.getouterframes(inspect.currentframe())[1].function then tqdm(iter, desc=info, ...).

@jgostick
Copy link
Member Author

jgostick commented Jul 8, 2024

During our brief testing today it seems that the inspect trick did not work, so this needs to be investigated first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant