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

disable progress bar in tests #799

Merged
merged 11 commits into from
Jan 19, 2022
Merged

Conversation

PaulJonasJost
Copy link
Collaborator

closes #791

@codecov-commenter
Copy link

codecov-commenter commented Jan 18, 2022

Codecov Report

Merging #799 (ee68240) into main (a4ce1d2) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #799   +/-   ##
=======================================
  Coverage   90.27%   90.27%           
=======================================
  Files         106      106           
  Lines        7248     7249    +1     
=======================================
+ Hits         6543     6544    +1     
  Misses        705      705           
Impacted Files Coverage Δ
pypesto/optimize/optimizer.py 89.69% <ø> (ø)
pypesto/sample/parallel_tempering.py 97.22% <100.00%> (+0.03%) ⬆️
pypesto/objective/amici_util.py 83.89% <0.00%> (-0.85%) ⬇️
pypesto/objective/history.py 95.77% <0.00%> (-0.18%) ⬇️
pypesto/sample/sampler.py 97.36% <0.00%> (+5.26%) ⬆️

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 a4ce1d2...ee68240. Read the comment docs.

# loop over iterations
for i_sample in tqdm(range(int(n_samples))): # TODO test
for i_sample in tqdm(range(int(n_samples)), disable=not show_progress):
# TODO test
Copy link
Member

Choose a reason for hiding this comment

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

Is this still ToDo?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not sure, was there before. Would probably have to ask @yannikschaelte

Copy link
Member

Choose a reason for hiding this comment

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

yeah I guess we wanted to add tests there, tbd independent of current pr

@jvanhoefer
Copy link
Member

looks good!

@PaulJonasJost PaulJonasJost changed the base branch from main to develop January 19, 2022 15:16
@PaulJonasJost PaulJonasJost merged commit 990cebf into develop Jan 19, 2022
@PaulJonasJost PaulJonasJost deleted the fix_progress_bar_in_tests branch January 19, 2022 15:17
@PaulJonasJost PaulJonasJost mentioned this pull request Apr 8, 2022
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.

Disable progress bar in most tests
4 participants