# -*- coding: utf-8 -*-

import os

# Path to folder
PYHGNC_DIR = os.path.expanduser('~/.pyhgnc')
if not os.path.exists(PYHGNC_DIR):
    os.mkdir(PYHGNC_DIR)

# Path to data folder
PYHGNC_DATA_DIR = os.path.join(PYHGNC_DIR, 'data')
if not os.path.exists(PYHGNC_DATA_DIR):
    os.mkdir(PYHGNC_DATA_DIR)

# Path to logs folder
PYHGNC_LOG_DIR = os.path.join(PYHGNC_DIR, 'logs')
if not os.path.exists(PYHGNC_LOG_DIR):
    os.mkdir(PYHGNC_LOG_DIR)

# Default database name and location
DEFAULT_DB_NAME = 'pyhgnc.db'
DEFAULT_DB_LOCATION = os.path.join(PYHGNC_DATA_DIR, DEFAULT_DB_NAME)

HGNC_JSON = "ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/json/hgnc_complete_set.json"
HCOP_GZIP = 'ftp://ftp.ebi.ac.uk/pub/databases/genenames/hcop/human_all_hcop_sixteen_column.txt.gz'
# -*- coding: utf-8 -*-

import os

# Path to folder
PYHGNC_DIR = os.path.expanduser('~/.pyhgnc')
if not os.path.exists(PYHGNC_DIR):
    os.mkdir(PYHGNC_DIR)

# Path to data folder
PYHGNC_DATA_DIR = os.path.join(PYHGNC_DIR, 'data')
if not os.path.exists(PYHGNC_DATA_DIR):
    os.mkdir(PYHGNC_DATA_DIR)

# Path to logs folder
PYHGNC_LOG_DIR = os.path.join(PYHGNC_DIR, 'logs')
if not os.path.exists(PYHGNC_LOG_DIR):
    os.mkdir(PYHGNC_LOG_DIR)

# Default database name and location
DEFAULT_DB_NAME = 'pyhgnc.db'
DEFAULT_DB_LOCATION = os.path.join(PYHGNC_DATA_DIR, DEFAULT_DB_NAME)

HGNC_JSON = "ftp://ftp.ebi.ac.uk/pub/databases/genenames/new/json/hgnc_complete_set.json"
HCOP_GZIP = 'ftp://ftp.ebi.ac.uk/pub/databases/genenames/hcop/human_all_hcop_sixteen_column.txt.gz'
# -*- coding: utf-8 -*- # Path to folder # Path to data folder # Path to logs folder # Default database name and location