MCPcopy Create free account
hub / github.com/chibohe/text_recognition_toolbox / Flags

Class Flags

flags.py:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26class Flags():
27
28 def __init__(self, config_file):
29 with open(config_file, 'r') as f:
30 d = yaml.safe_load(f)
31
32 self.flags = dict_to_namedtuple(d)
33
34 def get(self):
35 return self.flags

Callers 1

build_configFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected