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

Function gaps_rand

test/intervaltrees.py:39–44  ·  view source on GitHub ↗

Create a random IntervalTree with random gaps, but no overlaps between the intervals.

(size=100, labels=False)

Source from the content-addressed store, hash-verified

37
38
39def gaps_rand(size=100, labels=False):
40 """
41 Create a random IntervalTree with random gaps, but no overlaps
42 between the intervals.
43 """
44 return IntervalTree(intervals.gaps_rand(size, labels))

Callers

nothing calls this directly

Calls 1

IntervalTreeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…