MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / build_parser

Function build_parser

scripts/debug/dump_hsgr.py:248–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246
247
248def build_parser():
249 parser = argparse.ArgumentParser(description=__doc__)
250
251 parser.add_argument(
252 "input",
253 help="The input file",
254 metavar="FILE",
255 )
256
257 parser.add_argument("--metric", help="The graph metric (default: *)", default="*")
258
259 parser.add_argument(
260 "--dot", help="Output a .dot file", type=argparse.FileType("wt")
261 )
262
263 return parser
264
265
266if __name__ == "__main__":

Callers 1

dump_hsgr.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected