From db432137a758e077c2d5613799fdac6501aa3983 Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Thu, 10 Oct 2024 21:15:23 +0000 Subject: [PATCH] Fix type errors --- large_image/tilesource/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: