Skip to content

Commit

Permalink
local cell density
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Apr 27, 2024
1 parent f47cd25 commit 9736257
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/napatrackmater/Trackmate.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,12 +495,13 @@ def _create_generations(self, all_source_ids: list):
if target_target_id[0] not in self.edge_target_lookup:
root_leaf.append(target_target_id[0])


test_splits = []
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:
root_splits.append(cell_id)
print(f'I am only half wrong')
test_splits.append(cell_id)
print(f'I am only half wrong {test_splits}')

return root_root, root_splits, root_leaf

Expand Down

0 comments on commit 9736257

Please sign in to comment.