Skip to content

Commit f2be9f6

Browse files
stefanvbnaul
authored andcommitted
Remove unused err_log_path and temp dir from config
1 parent 6f41181 commit f2be9f6

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

cesium.yaml.example

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ paths:
77
# Note below that defined variables can be reused in subsequent
88
# definitions.
99

10-
data_path: '~/.local/cesium'
11-
err_log_path: '{data_path}/logs/errors_and_warnings.log'
12-
models_folder: '{data_path}/models'
13-
features_folder: '{data_path}/extracted_features'
14-
predictions_folder: '{data_path}/predictions'
15-
ts_data_folder: '{data_path}/ts_data'
10+
data_path: '~/.local/cesium'
11+
models_folder: '{data_path}/models'
12+
features_folder: '{data_path}/extracted_features'
13+
predictions_folder: '{data_path}/predictions'
14+
ts_data_folder: '{data_path}/ts_data'
1615

17-
upload_folder: '{data_path}/uploads'
16+
upload_folder: '{data_path}/uploads'
1817
custom_feature_script_folder: '{data_path}/uploads/custom_feature_scripts'
19-
temp: '/tmp/cesium'
2018

2119
database:
2220
database: cesium

cesium_app/config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ def __getitem__(self, key):
9393
TEST_N = 5
9494

9595
for path_name, path in cfg['paths'].items():
96-
if path_name == 'err_log_path':
97-
path = os.path.dirname(path)
98-
9996
if not os.path.exists(path):
10097
print("Creating %s" % path)
10198
try:

0 commit comments

Comments
 (0)