MCPcopy Create free account
hub / github.com/GeWu-Lab/AnyTouch2 / get_entry_or

Function get_entry_or

utils.py:62–65  ·  view source on GitHub ↗
(cfg, key, default)

Source from the content-addressed store, hash-verified

60 return pd.read_csv(path, index_col=0, header=0, sep=",")
61
62def get_entry_or(cfg, key, default):
63 if key in cfg:
64 return cfg[key]
65 return default
66
67def make_dataset_pie_plot(d, title=None, show=False):
68 domains = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected