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

Function compute_days_since

tools/docs_and_notebooks_check.py:585–586  ·  view source on GitHub ↗
(d: date | None, today: date)

Source from the content-addressed store, hash-verified

583
584
585def compute_days_since(d: date | None, today: date) -> int | None:
586 return None if d is None else (today - d).days
587
588
589def match_allowlist(rel_path: str, allowlist: list[str]) -> bool:

Callers 2

scan_filesFunction · 0.85
update_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected