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

Progress bar in MultiPool #29

Closed
Cyberface opened this issue Feb 24, 2020 · 2 comments
Closed

Progress bar in MultiPool #29

Cyberface opened this issue Feb 24, 2020 · 2 comments

Comments

@Cyberface
Copy link

Hi,

Is it possible to use something like tqdm to show a progress bar in a MultiPool call?

Thanks!

@ahnitz
Copy link
Contributor

ahnitz commented Feb 24, 2020

@Cyberface Seb, you could do something like what we've done in gwastro/pycbc and have a variable that counts the number of calls that are done? Does that serve your purpose. I.E. https://github.com/gwastro/pycbc/blob/master/pycbc/pool.py#L35. That could be updated to cause a tqdm update I suppose.

@Cyberface
Copy link
Author

Thanks @ahnitz I will give it a go - I might just import pycbc's pool tbh

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

No branches or pull requests

2 participants