Skip to content
Snippets Groups Projects
Commit b819f7a7 authored by nfontrod's avatar nfontrod
Browse files

src/db_utils/__main__.py

parent f0a79f9c
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ Description: Populate the gin database
from .config import Config
from ..logging_conf import logging_def
from .db_creation import main_create_db
# from .creation_of_exon_table import get_ctrl, get_exon_table
from .creation_of_exon_table import main_fill_exon_n_gene
# from .create_freq_table import create_freq_table
# from .populate_database import populate
import logging
......@@ -19,9 +19,11 @@ def launcher(logging_level: str = "INFO"):
"""
Create and fill the database
"""
logging_def(Config.output, __file__, logging_level)
logging_def(Config.db_file.parent, __file__, logging_level)
logging.info('Database creation')
main_create_db()
main_create_db('DISABLE')
logging.info('Filling cin_gene and cin_exon')
main_fill_exon_n_gene('DISABLE')
# logging.info(f"Creation of {Config.ctrl_exon_file} file")
# get_ctrl(Config.exon_intern)
# logging.info(f"Creation of {Config.exon_file} file")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment