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

Method edit_value

deeplabcut/gui/widgets.py:381–385  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

379 return temp
380
381 def edit_value(self, item):
382 keys, value = self.walk_recursively_to_root(item)
383 if "crop" not in keys: # 'crop' should not be cast, otherwise it is understood as a list
384 value = self.cast_to_right_type(value)
385 self.set_value(self.cfg, keys, value)
386
387 def set_value(self, cfg, keys, value, ind=None):
388 temp = self.get_nested_key(cfg, keys)

Callers

nothing calls this directly

Calls 3

cast_to_right_typeMethod · 0.95
set_valueMethod · 0.95

Tested by

no test coverage detected