Skip to content

ValueError: IntervalTree: Null Interval objects not allowed in IntervalTree #136

Open
@robertwhbaldwin

Description

@robertwhbaldwin

a list of tuples:
[(1234, 4)]

def calc_aln_length( aln_intervals: list[tuple] ) -> int:
itree = IntervalTree.from_tuples(aln_intervals)

produces this error:
ValueError: IntervalTree: Null Interval objects not allowed in IntervalTree: Interval(1234, 4)

What is the problem ? This is not the expected behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions