intervaltree icon indicating copy to clipboard operation
intervaltree copied to clipboard

specific intervals cause inbalanced nodes

Open hexsprite opened this issue 2 years ago • 0 comments

Reproduction

from intervaltree import IntervalTree
intervals = [
      [478019, 486075],
      [478041, 483497],
      [478215, 486619],
      [478416, 488227],
      [479107, 483366],
      [479112, 488300],
      [479867, 489663],
      [481266, 490406],
      [482870, 485066],
      [483050, 487543],
      [484692, 485957],
      [488408, 489859],
      [490057, 492197],
      [491277, 493556],
]
tree = IntervalTree.from_tuples(intervals)
tree.verify()

Result

AssertionError: Error: Rotation should have happened, but didn't!

hexsprite avatar Jan 24 '24 17:01 hexsprite