Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chaimleib/intervaltree
/ datafunc
Function
datafunc
test/intervaltree_methods/restructure_test.py:492–494 ·
view source on GitHub ↗
(iv, islower)
Source
from the content-addressed store, hash-verified
490
491
def
test_chop_datafunc():
492
def
datafunc(iv, islower):
493
oldlimit = iv[islower]
494
return
"oldlimit: {0}, islower: {1}"
.format(oldlimit, islower)
495
496
t = IntervalTree([Interval(0, 10)])
497
t.chop(3, 7, datafunc)
Callers
2
chop
Method · 0.85
slice
Method · 0.85
Calls
1
format
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…