Max value of interval

Issue #51 new
Former user created an issue

Hi James,

I have been trying to create an interval tree with some pretty big numbers. However it seems like the code supports 32bit Int only, is it possible to enable the support of 64bit long? Thanks!

from bx.intervals.intersection import IntervalTree
b = IntervalTree()
b.add(2119513096, 2234682974,"b")
>>>Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "intersection.pyx", line 388, in bx.intervals.intersection.IntervalTree.insert (lib/bx/intervals/intersection.c:4823)
OverflowError: value too large to convert to int

Best regards, Allen

Comments (0)

  1. Log in to comment