You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should this be end_hits = [iv for iv in self.at(end) if iv.begin < end]
? The end of the chopping interval is not part of the chopping interval, and an existing interval that starts at the end of the chopping interval does not need any part of it chopped off. Also, checking iv.end > end seems unnecessary since it should hold for any interval returned by self.at(end).
The text was updated successfully, but these errors were encountered:
At
intervaltree/intervaltree/intervaltree.py
Line 503 in 01a30a8
should this be
end_hits = [iv for iv in self.at(end) if iv.begin < end]
? The end of the chopping interval is not part of the chopping interval, and an existing interval that starts at the end of the chopping interval does not need any part of it chopped off. Also, checking
iv.end > end
seems unnecessary since it should hold for any interval returned byself.at(end)
.The text was updated successfully, but these errors were encountered: