diff --git a/src/napatrackmater/Trackmate.py b/src/napatrackmater/Trackmate.py index 5c68ca36..f1d98660 100644 --- a/src/napatrackmater/Trackmate.py +++ b/src/napatrackmater/Trackmate.py @@ -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 diff --git a/src/napatrackmater/_version.py b/src/napatrackmater/_version.py index 026514af..1f49cdde 100644 --- a/src/napatrackmater/_version.py +++ b/src/napatrackmater/_version.py @@ -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)