Skip to content

Commit

Permalink
Add comment for develop merge
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Nov 22, 2024
1 parent d26946d commit ae9728d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sleap/io/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,7 @@ def remove_instance(
if not in_transaction:
self._cache.remove_instance(frame, instance)

# TODO: Do NOT merge into develop, this next line is handled by InstancesList
# Check that if a `PredictedInstance` is removed, that it is not referenced
from_predicted_instances = [inst.from_predicted for inst in frame.instances]
if instance in from_predicted_instances:
Expand Down

0 comments on commit ae9728d

Please sign in to comment.