-
Notifications
You must be signed in to change notification settings - Fork 47
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 #641
progress bar #641
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #641 +/- ##
===========================================
+ Coverage 88.16% 89.84% +1.67%
===========================================
Files 79 93 +14
Lines 5257 5916 +659
===========================================
+ Hits 4635 5315 +680
+ Misses 622 601 -21
Continue to review full report at Codecov.
|
pypesto/engine/mpi_pool.py
Outdated
@@ -29,14 +31,19 @@ class MPIPoolEngine(Engine): | |||
def __init__(self): | |||
super().__init__() | |||
|
|||
def execute(self, tasks: List[Task]): | |||
def execute(self, tasks: List[Task], progress_bar: bool = True): | |||
"""Pickle tasks and distribute work to workers.""" |
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.
Would add a Parameter description here for progress_bar in the docstring. Same in the others.
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.
👍
This PR is WIP on giving optimization/Ensembles/Profiles a nice little progress bar...