Skip to content

Commit

Permalink
Only append links after fully encoded (fat-finger)
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Sep 25, 2024
1 parent e7fb00a commit 743e406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sleap/skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def _encode_links(self, links: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
encoded_link[key] = self._encode_edge_type(value)
else:
encoded_link[key] = self._encode(value)
encoded_links.append(encoded_link)
encoded_links.append(encoded_link)

return encoded_links

Expand Down

0 comments on commit 743e406

Please sign in to comment.