Skip to content

Commit

Permalink
fix get_groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael McCrackan committed Dec 20, 2024
1 parent 3f7979b commit 1c4b9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sotodlib/preprocess/preprocess_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def get_groups(obs_id, configs, context):
det_info = context.get_det_info(obs_id)
rs = det_info.subset(keys=group_by).distinct()
groups = [[b for a,b in r.items()] for r in rs]
return groups, groups_by, None
return groups, group_by, None
except Exception as e:
error = f'Failed get groups for: {obs_id}'
errmsg = f'{type(e)}: {e}'
Expand Down

0 comments on commit 1c4b9a1

Please sign in to comment.