neurom.check.structural_checks.is_single_tree

neurom.check.structural_checks.is_single_tree(data_wrapper)[source]

Check that data forms a single tree

Only the first point has ID of -1.

Returns:CheckResult with result and list of IDs

Note

This assumes no_missing_parents passed.