Skip to content

Commit

Permalink
Small bug fix for Numerical Field in Summary Field Operator
Browse files Browse the repository at this point in the history
  • Loading branch information
minhtuevo committed Sep 27, 2024
1 parent cb040ed commit 2c31bf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fiftyone/operators/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1254,8 +1254,9 @@ def _create_summary_field_inputs(ctx, inputs):
group_prefix = path.rsplit(".", 1)[0] + "."
group_by_keys = sorted(p for p in schema if p.startswith(group_prefix))
group_by_selector = types.AutocompleteView()
print(group_by_keys)
for group in group_by_keys:
group_by_selector.add_choice(group.name, label=group.name)
group_by_selector.add_choice(group, label=group)

inputs.enum(
"group_by",
Expand Down

0 comments on commit 2c31bf7

Please sign in to comment.