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

Method write_config

deeplabcut/gui/widgets.py:574–579  ·  view source on GitHub ↗
(self, config_path, cfg)

Source from the content-addressed store, hash-verified

572 return auxiliaryfunctions.read_config(config_path)
573
574 def write_config(self, config_path, cfg):
575 # Normalize to plain lists before writing config.yaml
576 cfg = dict(cfg)
577 if "skeleton" in cfg:
578 cfg["skeleton"] = [list(pair) for pair in cfg["skeleton"]]
579 auxiliaryfunctions.write_config(config_path, cfg)
580
581 def display(self):
582 # No-op, the dialog is shown/exec'd by the caller

Callers 15

testscript_cli.pyFile · 0.45
add_skeletonFunction · 0.45
create_new_projectFunction · 0.45
transform_dataFunction · 0.45
add_new_videosFunction · 0.45
update_model_cfgMethod · 0.45
select_cropping_areaFunction · 0.45
finalize_projectMethod · 0.45
select_cropping_areaFunction · 0.45

Calls

no outgoing calls

Tested by 2