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

Function _module_path

deeplabcut/core/debug/debug_logger.py:333–339  ·  view source on GitHub ↗
(module_name: str)

Source from the content-addressed store, hash-verified

331
332
333def _module_path(module_name: str) -> str:
334 try:
335 mod = __import__(module_name)
336 p = getattr(mod, "__file__", None)
337 return str(Path(p).resolve()) if p else "unknown"
338 except Exception:
339 return "unknown"
340
341
342def _safe_tail(pathlike: object) -> str:

Callers 1

collect_version_summaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected