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

Function read_plainconfig

deeplabcut/utils/auxiliaryfunctions.py:350–354  ·  view source on GitHub ↗
(configname)

Source from the content-addressed store, hash-verified

348
349
350def read_plainconfig(configname):
351 if not os.path.exists(configname):
352 raise FileNotFoundError(f"Config {configname} is not found. Please make sure that the file exists.")
353 with open(configname) as file:
354 return YAML().load(file)
355
356
357def write_plainconfig(configname, cfg):

Callers 6

create_training_datasetFunction · 0.90
__init__.pyFile · 0.90
ma_datasetFunction · 0.90
edit_configFunction · 0.85
get_scorer_nameFunction · 0.85

Calls 1

loadMethod · 0.80

Tested by 1

ma_datasetFunction · 0.72