Skip to content

Commit

Permalink
Fix index offset
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicasyu committed Nov 22, 2023
1 parent a9ec4fd commit bbdc967
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,6 @@ def format_potts_for_objects(
name = f"{region}#{category}#{index}#{frame}"
data = data + [[name, int(frame), 1] + center + [[]]]

index_offset = index_offset + len(group_ids)

return pd.DataFrame(data, columns=["name", "frame", "radius", "x", "y", "z", "points"])

0 comments on commit bbdc967

Please sign in to comment.