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

Allow scheduling histogram computation #1282

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Allow scheduling histogram computation #1282

merged 1 commit into from
Aug 31, 2023

Conversation

manthey
Copy link
Member

@manthey manthey commented Aug 30, 2023

For multi-frame files, precomputing histograms can speed up UI. This extends the Girder item/{id}/tiles/histogram option with another option. If cache=report, a list corresponding to all frames is returned showing which frames have a histogram with the remaining API call parameters computed and cached. If cache=schedule, if there are any such frames that are not cached (and eligible to be cached), then a local job is created to do so.

Note that histograms that use a range value other than the default or round are not cached.

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.

1 participant