MCPcopy Create free account
hub / github.com/InternScience/SciReason / parse_args

Function parse_args

tools/test_api_model.py:173–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171
172
173def parse_args():
174 parser = argparse.ArgumentParser(
175 description='Test if a given API model wrapper works properly')
176 parser.add_argument('config', help='Train config file path')
177 parser.add_argument('-n', '--non-interactive', action='store_true')
178 args = parser.parse_args()
179 return args
180
181
182def parse_model_cfg(model_cfg: ConfigDict) -> Dict[str, ConfigDict]:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected