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

Add tool for refreshing tile cache #113

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

Carifio24
Copy link
Member

@Carifio24 Carifio24 commented May 28, 2024

pywwt now has the ability to ask WWT to refresh the tile cache (which deletes all tiles that have been downloaded and cached). This isn't something that should be needed often, but in case some tile fails to load (e.g. due to a network issue), this allows refreshing the cache rather than being stuck with a low-res tile. This PR exposes this functionality as a tool for the WWT viewer.

The icon is something that I grabbed from the Noun Project. If someone else has another icon idea I'm open to suggestions!

Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 71.32%. Comparing base (f6f0135) to head (d5de837).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
glue_wwt/viewer/jupyter_viewer.py 0.00% 1 Missing ⚠️
glue_wwt/viewer/tools.py 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
+ Coverage   71.21%   71.32%   +0.10%     
==========================================
  Files          18       18              
  Lines        1063     1074      +11     
==========================================
+ Hits          757      766       +9     
- Misses        306      308       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Carifio24 Carifio24 requested a review from astrofrog September 10, 2024 04:34
Copy link
Member

@astrofrog astrofrog left a comment

Choose a reason for hiding this comment

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

Looks nice!

@Carifio24 Carifio24 merged commit e03e9a0 into glue-viz:main Sep 10, 2024
21 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