diff --git a/large_image/tilesource/base.py b/large_image/tilesource/base.py index e5a923d5b..8db88aefb 100644 --- a/large_image/tilesource/base.py +++ b/large_image/tilesource/base.py @@ -1317,12 +1317,12 @@ def metadata(self) -> JSONDict: def _getFrameValueInformation(self, frames: List[Dict]): refvalues: Dict[str, Dict[str, List]] = {} - for idx, frame in enumerate(frames): + for frame in frames: for key, value in frame.items(): if 'Value' in key: if key not in refvalues: refvalues[key] = {} - value_index = frame.get(key.replace('Value', 'Index')) + value_index = str(frame.get(key.replace('Value', 'Index'))) if value_index not in refvalues[key]: refvalues[key][value_index] = [value] else: