-
Notifications
You must be signed in to change notification settings - Fork 65
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
Progressbar: switch to tqdm, add description #913
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but can't we just require tqdm as a dependency as it's so lightweight? This will then simplify the code in utils.py and fix the CI.
I'm OK with that. @e-koch, you good with just making tqdm a requirement? |
agreed. as Tom points out, it's lightweight and simplifies things. |
I've added tqdm as a dependency and refactored to use it - but the usage of progressbars is still a little non-tqdm-like. |
…can also provide a desc
…ust silently ignore it
c42f3ec
to
0fd643e
Compare
@keflavich can we close this now that #923 is merged? |
Yep. |
As in the title: there are a lot of progressbars scattered throughout spectral-cube, and it can be tricky to track down where they are. Adding labels should help.