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 #641

Merged
merged 4 commits into from
Apr 26, 2021
Merged

progress bar #641

merged 4 commits into from
Apr 26, 2021

Conversation

jvanhoefer
Copy link
Member

This PR is WIP on giving optimization/Ensembles/Profiles a nice little progress bar...

@codecov-commenter
Copy link

codecov-commenter commented Apr 22, 2021

Codecov Report

Merging #641 (16aab6b) into develop (160c2a8) will increase coverage by 1.67%.
The diff coverage is 86.94%.

Impacted file tree graph

@@             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     
Impacted Files Coverage Δ
pypesto/ensemble/covariance_analysis.py 18.36% <0.00%> (-0.39%) ⬇️
pypesto/objective/amici.py 85.56% <20.00%> (-4.27%) ⬇️
pypesto/predict/task.py 43.75% <43.75%> (ø)
pypesto/petab/__init__.py 63.63% <50.00%> (ø)
pypesto/objective/amici_util.py 84.21% <66.66%> (+8.31%) ⬆️
pypesto/engine/mpi_pool.py 68.18% <68.18%> (ø)
pypesto/ensemble/constants.py 91.30% <71.42%> (-8.70%) ⬇️
pypesto/visualize/misc.py 82.41% <72.22%> (-2.52%) ⬇️
pypesto/store/read_from_hdf5.py 91.20% <76.47%> (+33.30%) ⬆️
pypesto/visualize/waterfall.py 96.29% <83.33%> (ø)
... and 58 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f0eb3b9...16aab6b. Read the comment docs.

pypesto/engine/mpi_pool.py Outdated Show resolved Hide resolved
pypesto/engine/multi_process.py Outdated Show resolved Hide resolved
@@ -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."""
Copy link
Collaborator

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.

Copy link
Member

@dilpath dilpath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

pypesto/engine/base.py Outdated Show resolved Hide resolved
pypesto/engine/base.py Outdated Show resolved Hide resolved
pypesto/engine/base.py Outdated Show resolved Hide resolved
pypesto/engine/mpi_pool.py Outdated Show resolved Hide resolved
pypesto/engine/multi_process.py Outdated Show resolved Hide resolved
pypesto/engine/single_core.py Outdated Show resolved Hide resolved
pypesto/ensemble/ensemble.py Outdated Show resolved Hide resolved
pypesto/ensemble/ensemble.py Outdated Show resolved Hide resolved
pypesto/optimize/optimize.py Outdated Show resolved Hide resolved
pypesto/profile/profile.py Outdated Show resolved Hide resolved
pypesto/engine/base.py Outdated Show resolved Hide resolved
@jvanhoefer jvanhoefer merged commit 0691c54 into develop Apr 26, 2021
@PaulJonasJost PaulJonasJost deleted the feature_progress_bar branch July 6, 2021 13:50
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.

5 participants