Skip to content

Commit

Permalink
Fix serialization for negative anchors metadata field in SLP files
Browse files Browse the repository at this point in the history
  • Loading branch information
talmo committed Jul 28, 2023
1 parent 430a061 commit ffe671f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleap_io/io/slp.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def write_metadata(labels_path: str, labels: Labels):
"videos": [],
"tracks": [],
"suggestions": [], # TODO: Handle suggestions metadata.
"negative_anchors": [],
"negative_anchors": {},
"provenance": labels.provenance,
}
with h5py.File(labels_path, "a") as f:
Expand Down

0 comments on commit ffe671f

Please sign in to comment.