Skip to content

Commit

Permalink
Merge pull request #1583 from girder/plottable-data
Browse files Browse the repository at this point in the history
Fix passing annotation element ids to plottable data lists
  • Loading branch information
manthey authored Jul 18, 2024
2 parents ee882ad + 079b3dd commit 2cc5ebf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def _scanElementColumns(self, source, columns, elems, auxidx, items, annotations
rows.setdefault('_3_annotation.id', []).append(str(annotations[auxidx]['_id']))
rows.setdefault('_4_annotation.description', []).append(
annotations[auxidx].get('annotation', {}).get('description'))
rows.setdefault('_5_annotationelement.id', []).append(elem['id'])
rows.setdefault('_5_annotationelement.id', []).append(str(elem['id']))
rows.setdefault('annotationelement.group', []).append(
elem.get('group') or None)
rows.setdefault('annotationelement.label', []).append(
Expand Down

0 comments on commit 2cc5ebf

Please sign in to comment.