Open willgraf opened 3 years ago
@MekWarrior has provided some helpful comments on lineage validation here.
This issue has cropped up again and caused DCL to crash. Differences in how underlying images are stored (i.e. int64) or missing data fields could cause downstream errors if assumptions aren't met. Theses assumptions should asserted on the save functions in utils
This is largely resolved by the is_valid_lineage
changes in #73.
We may want to take the next step and integrate is_valid_lineage
in load_trks
and save_trks
and at least warn the user on bad batches.
Is there a way to visualize/build lineage trees from the tracks? something similar to Arboretum plugin for napari for example
There should be an easy way to validate that the cell lineage data in
lineage.json
is valid, including (but not limited to):A simple function that just makes assertions on a
.trk
file or alineage.json
file and informs the user of any data violations would be sufficient.Originally posted by @willgraf in https://github.com/vanvalenlab/deepcell-tf/issues/151#issuecomment-786889143