MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / chunked

Function chunked

tools/trim_lines.py:56–58  ·  view source on GitHub ↗
(items: list[str], size: int = 50)

Source from the content-addressed store, hash-verified

54
55
56def chunked(items: list[str], size: int = 50):
57 for i in range(0, len(items), size):
58 yield items[i : i + size]
59
60
61def main() -> int:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected