If a lineage contains cell IDs that are not in the label image y, the lineage should be invalid, but is_valid_lineage reports True. This is because y is not passed to is_valid_lineage.
is_valid_lineage should be updated to be passed y, and should make sure:
If a lineage contains cell IDs that are not in the label image
y
, the lineage should be invalid, butis_valid_lineage
reports True. This is becausey
is not passed tois_valid_lineage
.is_valid_lineage
should be updated to be passedy
, and should make sure:lineage
are also iny
y
are inlineage
frames
list of each lineage is correct.