Commit cc949141 authored by Oriol Guitart's avatar Oriol Guitart
Browse files

Change config file parameter name

parent 361e701f
Pipeline #391 passed with stage
in 1 minute and 54 seconds
......@@ -48,7 +48,7 @@ class Downloader():
self.dbname = dbname
self.dbfile = dbfile
if not tmp_dir:
tmp_dir = Config().PATH.DOWNLOAD_TMP
tmp_dir = Config().PATH.CC_TMP
self.tmp_dir = tmp_dir
try:
self.url = Downloader.validate_url(url)
......
......@@ -2,7 +2,7 @@
"PATH": {
"CC_ROOT": "'/aloy/web_checker/'",
"CC_DATA": "'/aloy/scratch/oguitart/download/'",
"DOWNLOAD_TMP": "'/aloy/scratch/oguitart/download_tmp/'",
"CC_TMP": "'/aloy/scratch/oguitart/download_tmp/'",
"CC_REPO": "'/aloy/home/oguitart/projects/source/chemical_checker'",
"SINGULARITY_IMAGE": "'/aloy/home/oguitart/sing-images/cc.simg'"
},
......
{
"PATH": {
"CC_ROOT": "'/aloy/web_checker/'",
"DOWNLOAD_TMP": "'/aloy/scratch/mbertoni/download/'"
"CC_TMP": "'/aloy/scratch/mbertoni/download/'"
},
"DB": {
"dialect": "'postgresql'",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment