code: def path_end_to_end_distance(neurite):
      '''Calculate and return end-to-end-distance of a given neurite.'''
      trunk = neurite.root_node.points[0]
      return max(morphmath.point_dist(l.points[-1], trunk)
                 for l in neurite.root_node.ileaf()f path_end_to_end_distance(neurite):
      '''Calculate and return end-to-end-distance of a given neurite.'''
      trunk = neurite.root_node.points[0]
      return max(morphmath.point_dist(l.points[-1], trunk)
                 for l in neurite.root_node.ileaf())
docs: Calculate and return end-to-end-distance of a given neurite.