Skip to content

Commit

Permalink
Merge pull request #1252 from girder/histogram-caching
Browse files Browse the repository at this point in the history
Allow caching rounded histograms
  • Loading branch information
manthey authored Aug 2, 2023
2 parents d603031 + 6ec7aa3 commit b6b6b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion girder/girder_large_image/models/image_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ def histogram(self, item, **kwargs):
method.
:returns: histogram object.
"""
if kwargs.get('range') is not None:
if kwargs.get('range') is not None and kwargs.get('range') != 'round':
tileSource = self._loadTileSource(item, **kwargs)
result = tileSource.histogram(**kwargs)
else:
Expand Down

0 comments on commit b6b6b1a

Please sign in to comment.