Skip to content

OverflowError: value too large to convert to int #21

Open

Description

@peterch405

I am still having this issue:

Issue from: https://bitbucket.org/james_taylor/bx-python/issues/51/max-value-of-interval

from bx.intervals.intersection import IntervalTree
b = IntervalTree()
b.add(300000000,300000100,"a")
b.find(300000010,300000011)
>>>['a']
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

Activity

  1. jxtx commented on Jun 15, 2017

    @jxtx
    Contributor

    Definitely still an issue. Requires substantial changes to move from 32 to 64 bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions