Skip to content

Commit

Permalink
fix: look for the identifier in the correct location (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederik-encord authored Mar 7, 2023
1 parent 66ece7b commit 3ba0ee9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def multiselect_tag(row: Series, key_prefix: str, metric_type: MetricScope):
merged_metrics = get_state().merged_metrics
for scope in metric_scopes:
id = target_identifier(identifier, scope)
if id in merged_metrics:
if id in merged_metrics.index:
tag_status += get_state().merged_metrics.at[id, "tags"]

key = f"{key_prefix}_multiselect_{identifier}"
Expand Down

0 comments on commit 3ba0ee9

Please sign in to comment.