neurom.check.structural_checks.is_single_tree

neurom.check.structural_checks.is_single_tree(data_wrapper)

Check that data forms a single tree

Only the first point has ID of -1.

Note

This assumes no_missing_parents passed.