vanvalenlab / deepcell-tracking

Track cells and build cell lineages
Other
29 stars 6 forks source link

`is_valid_lineage` should check if the daughter ID is valid. #70

Closed willgraf closed 3 years ago

willgraf commented 3 years ago

If a cell's daughter ID is not a valid track ID, then is_valid_lineage will crash due to a KeyError. Instead, it should catch this error and note the lineage as invalid.