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

Remove module-level Dask progress bar registration #75

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

zmoon
Copy link
Member

@zmoon zmoon commented Aug 15, 2022

Resolves #73

The issue is that the way the monetio is currently set up, all that code gets run when you import monetio, so you get progress bars even if you don't want them (e.g. for job logs).

@zmoon
Copy link
Member Author

zmoon commented Aug 15, 2022

If you do want to see progress bars (e.g. in a notebook), just do

from dask.diagnostics import ProgressBar

ProgressBar().register()

more info

@zmoon zmoon merged commit faa6db7 into noaa-oar-arl:develop Aug 15, 2022
@zmoon zmoon deleted the pb branch August 15, 2022 22:53
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