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

Function main

deeplabcut/benchmark/cli.py:32–49  ·  view source on GitHub ↗

Main CLI entry point for generating deeplabcut.benchmark results.

()

Source from the content-addressed store, hash-verified

30
31
32def main():
33 """Main CLI entry point for generating deeplabcut.benchmark results."""
34 args = _parse_args()
35 if not args.nocache:
36 results = deeplabcut.benchmark.loadcache()
37 else:
38 results = None
39 results = deeplabcut.benchmark.evaluate(
40 include_benchmarks=args.include,
41 results=results,
42 on_error=args.onerror,
43 )
44 if not args.nocache:
45 deeplabcut.benchmark.savecache(results)
46 try:
47 print(results.toframe())
48 except StopIteration:
49 pass

Callers 1

__main__.pyFile · 0.90

Calls 3

evaluateMethod · 0.80
toframeMethod · 0.80
_parse_argsFunction · 0.70

Tested by

no test coverage detected