forked from JinhoKim46/MRCP_DLRecon
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
28 lines (20 loc) · 650 Bytes
/
main.py
File metadata and controls
28 lines (20 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""
Copyright (c) Jinho Kim <jinho.kim@fau.de>.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
"""
import argparse
import multiprocessing
import os
from dlrecon.pl import cli
from dlrecon.pl import utils as pl_utils
os.environ["KMP_DUPLICATE_LIB_OK"] = "True"
multiprocessing.set_start_method("spawn", force=True)
def run_cli():
# base argument parser
parser = argparse.ArgumentParser(add_help=False)
pl_utils.add_main_arguments(parser)
args = parser.parse_known_args()[0]
_ = cli.DLReconCLI(name=args.name)
if __name__ == "__main__":
run_cli()