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

fixed bug where progress bar didn't update properly #369

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

PolarBean
Copy link
Contributor

@PolarBean PolarBean commented Aug 23, 2024

Description

Fixes the progress bar bug described here #334

It was because refresh was true which means the progress bar had to update on every single chunk. On a fast internet connection this was way too frequently. By setting refresh to False (it's default value) the progress bar chunks its updates and updates at a sensible frequency. This solves the update issue on my machine.
What is this PR

  • [x ] Bug fix
  • Addition of a new feature
  • Other

References

#334

How has this PR been tested?

It's a very minor change however I have downloaded multiple atlases and it works.

Is this a breaking change?

No

Does this PR require an update to the documentation?

No

Checklist:

  • [x ] The code has been tested locally
  • [x ] Tests have been added to cover all new functionality (unit & integration)
  • [ x] The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit
    (it is changing one argument im not sure i need to run the pre-commit formatting but i can)

Copy link
Member

@alessandrofelder alessandrofelder left a 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!

@alessandrofelder alessandrofelder merged commit 8606c53 into brainglobe:main Aug 23, 2024
13 checks passed
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.

2 participants