Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DeepLabCut/DeepLabCut
/ relpath
Function
relpath
tools/ruff_report.py:57–61 ·
view source on GitHub ↗
(path: str)
Source
from the content-addressed store, hash-verified
55
56
57
def
relpath(path: str) -> str:
58
try
:
59
return
os.path.relpath(path)
60
except
Exception:
61
return
path
62
63
64
def
main() -> int:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected