-
Notifications
You must be signed in to change notification settings - Fork 0
/
__main__.py
48 lines (39 loc) · 1.13 KB
/
__main__.py
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: noparis
"""
import sys
from .src.args import add_arguments, build_args_parser
from .src import DataSetBrenda
# from .src2.RXN_CMP_file_creator import RXN_CMP
# from .src2.args import add_arguments, build_args_parser
from argparse import (
ArgumentParser,
Namespace
)
from logging import Logger
def main():
"""
Main function
"""
parser = build_args_parser(
program = 'extractor_brendapy',
description = '',
m_add_args = add_arguments
)
args = parser.parse_args()
# laisser le run tant qu'il n'y a pas @property
DataSetBrenda(args.list_parameters, args.path_file_databrenda,
args.list_ec, args.namefile).run()
# print(args)
# parser = build_args_parser(
# program = 'RXN_CMP',
# description = '',
# m_add_args = add_arguments
# )
# args = parser.parse_args()
# RXN_CMP.modif_file(args.path, args.input_file, args.file_RXM).run()
# RXN_CMP.file_mol_smile(args.path, args.file_RXM, args.file_CMP, args.mail, args.mdp).run()
if __name__ == "__main__":
main()