Skip to content

Commit

Permalink
avoid double counting
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Apr 27, 2024
1 parent 63142de commit c04ba10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/napatrackmater/Trackmate.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def _create_generations(self, all_source_ids: list):

if len(list(self.oneat_dividing_tracks.keys())) > 1:
for cell_id in list(self.oneat_dividing_tracks.keys()):
if cell_id in all_source_ids:
if cell_id in all_source_ids and cell_id not in root_splits:
root_splits.append(cell_id)

return root_root, root_splits, root_leaf
Expand Down
4 changes: 2 additions & 2 deletions src/napatrackmater/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = version = "5.1.2"
__version_tuple__ = version_tuple = (5, 1, 2)
__version__ = version = "5.1.3"
__version_tuple__ = version_tuple = (5, 1, 3)

0 comments on commit c04ba10

Please sign in to comment.