|
a |
|
b/src/multivelo/settings.py |
|
|
1 |
import os |
|
|
2 |
|
|
|
3 |
"""Settings |
|
|
4 |
""" |
|
|
5 |
|
|
|
6 |
# the desired verbosity |
|
|
7 |
global VERBOSITY |
|
|
8 |
|
|
|
9 |
# cwd: The current working directory |
|
|
10 |
global CWD |
|
|
11 |
|
|
|
12 |
# the name of the file to which we're writing the log files |
|
|
13 |
global LOG_FOLDER |
|
|
14 |
|
|
|
15 |
# the name of the file to which we're writing the logs |
|
|
16 |
# (If left to the default value of None, we don't write to a file) |
|
|
17 |
global LOG_FILENAME |
|
|
18 |
|
|
|
19 |
# the name of the gene the code is processing |
|
|
20 |
global GENE |
|
|
21 |
|
|
|
22 |
VERBOSITY = 1 |
|
|
23 |
CWD = os.path.abspath(os.getcwd()) |
|
|
24 |
LOG_FOLDER = os.path.join(CWD, "../logs") |
|
|
25 |
LOG_FILENAME = None |
|
|
26 |
GENE = None |