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

Function get_deeplabcut_path

deeplabcut/utils/auxiliaryfunctions.py:633–637  ·  view source on GitHub ↗

Get path of where deeplabcut is currently running.

()

Source from the content-addressed store, hash-verified

631
632
633def get_deeplabcut_path():
634 """Get path of where deeplabcut is currently running."""
635 import importlib.util
636
637 return os.path.split(importlib.util.find_spec("deeplabcut").origin)[0]
638
639
640def intersection_of_body_parts_and_ones_given_by_user(cfg, comparisonbodyparts):

Callers 5

dlc_modelzoo_pathFunction · 0.90
parse_project_model_nameFunction · 0.90
__init__.pyFile · 0.90
__init__Method · 0.90

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected