MCPcopy Index your code
hub / github.com/Project-MONAI/MONAI / testing_data_config

Function testing_data_config

tests/test_utils.py:90–97  ·  view source on GitHub ↗

get _test_data_config[keys0][keys1]...[keysN]

(*keys)

Source from the content-addressed store, hash-verified

88
89
90def testing_data_config(*keys):
91 """get _test_data_config[keys0][keys1]...[keysN]"""
92 if not _test_data_config:
93 with open(f"{MODULE_PATH}/tests/testing_data/data_config.json") as c:
94 _config = json.load(c)
95 for k, v in _config.items():
96 _test_data_config[k] = v
97 return reduce(operator.getitem, keys, _test_data_config)
98
99
100def get_testing_algo_template_path():

Callers 15

setUpMethod · 0.90
setUpClassMethod · 0.90
setUpClassMethod · 0.90
setUpModuleFunction · 0.90
setUpMethod · 0.90
test_filter_swinunetrMethod · 0.90
setUpMethod · 0.90
test_actionsMethod · 0.90

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…