Skip to content

Commit b850742

Browse files
committed
ROOT_RESULTS_DIR in DiffuPath constants, DATASETS removed and EVALUATION_METHODS without preposition
1 parent 2371f6e commit b850742

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/diffupath/constants.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@
99

1010
#: Default DiffuPath directory
1111
DEFAULT_DIFFUPATH_DIR = os.path.join(os.path.expanduser('~'), '.diffupath')
12+
1213
#: Default DiffuPath output directory
1314
OUTPUT_DIR = os.path.join(DEFAULT_DIFFUPATH_DIR, 'output')
1415

16+
ROOT_RESULTS_DIR = os.path.join(os.path.abspath(os.path.join(SOURCE_DIR, os.pardir)))
17+
ROOT_RESULTS_DIR = os.path.join(os.path.abspath(os.path.join(ROOT_RESULTS_DIR, os.pardir)))
18+
ROOT_RESULTS_DIR = os.path.join(ROOT_RESULTS_DIR, 'Results')
19+
1520

1621
def ensure_output_dirs():
1722
"""Ensure that the output directories exists."""
@@ -24,19 +29,14 @@ def ensure_output_dirs():
2429
"""Available diffusion cross-validation methods"""
2530

2631
#: raw
27-
BY_METHOD = 'by_method'
28-
BY_DB = 'by_db'
32+
BY_METHOD = 'method'
33+
BY_DB = 'database'
2934

30-
EVALUATION_METHODS = {
35+
EVALUATION_COMPARISONS = {
3136
BY_METHOD,
3237
BY_DB,
3338
}
3439

35-
DATASETS = {
36-
'1',
37-
'2',
38-
'3',
39-
}
4040

4141
# Rename DiffuPy methods
4242
DIFFUPY_METHODS = METHODS

0 commit comments

Comments
 (0)