Open robertwhbaldwin opened 9 months ago
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
nevermind it turns out that the begin and end coords were mixed up as you can see it should have been [(2, 1234)]
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