MCPcopy Create free account
hub / github.com/DeepGraphLearning/DiffPack / load_config

Function load_config

diffpack/util.py:35–41  ·  view source on GitHub ↗
(cfg_file)

Source from the content-addressed store, hash-verified

33
34
35def load_config(cfg_file):
36 with open(cfg_file, "r") as fin:
37 raw_text = fin.read()
38 cfg = yaml.load(raw_text, Loader=yaml.CLoader)
39 cfg = easydict.EasyDict(cfg)
40
41 return cfg
42
43
44def get_root_logger(file=True):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected