MCPcopy Create free account
hub / github.com/chaimleib/intervaltree / range

Method range

intervaltree/intervaltree.py:961–968  ·  view source on GitHub ↗

Returns a minimum-spanning Interval that encloses all the members of this IntervalTree. If the tree is empty, returns null Interval. :rtype: Interval

(self)

Source from the content-addressed store, hash-verified

959 return self.boundary_table.keys()[-1]
960
961 def range(self):
962 """
963 Returns a minimum-spanning Interval that encloses all the
964 members of this IntervalTree. If the tree is empty, returns
965 null Interval.
966 :rtype: Interval
967 """
968 return Interval(self.begin(), self.end())
969
970 def span(self):
971 """

Callers 2

test_empty_queriesFunction · 0.95

Calls 3

beginMethod · 0.95
endMethod · 0.95
IntervalClass · 0.85

Tested by 2

test_empty_queriesFunction · 0.76