Skip to content

Commit

Permalink
Fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Oct 10, 2024
1 parent 4e1ed1a commit db43213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions large_image/tilesource/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit db43213

Please sign in to comment.