MCPcopy Create free account
hub / github.com/MaureenZOU/TSAM / parse_args

Function parse_args

src/scripts/check_len.py:9–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def parse_args():
10 parser = argparse.ArgumentParser()
11 parser.add_argument(
12 '-rd', '--root_dir',
13 type=str,
14 required=True,
15 help="Root background frames directory"
16 )
17 parser.add_argument(
18 '-dl', '--dirname_list',
19 type=str,
20 required=True,
21 help="Root background frames directory"
22 )
23 parser.add_argument(
24 '-l', '--length',
25 type=int
26 )
27 args = parser.parse_args()
28 return args
29
30
31def main(args):

Callers 1

check_len.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected