aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/__init__.py1
-rw-r--r--app/views.py5
-rw-r--r--config.ini1
3 files changed, 3 insertions, 4 deletions
diff --git a/app/__init__.py b/app/__init__.py
index 1b2171c..dd2f7ff 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -9,7 +9,6 @@ DB_PORT = config['DATABASE']['PORT']
DB_USER = config['DATABASE']['USER']
DB_PASSWORD = config['DATABASE']['PASSWORD']
DB_NAME = config['DATABASE']['NAME']
-UPLOAD_FOLDER = config['FILES']['UPLOAD_FOLDER']
LOG_FOLDER = config['FILES']['LOG_FOLDER']
INSTANT_EXEC = config['EXECUTION']['INSTANT']
LSTM = config['FEATURES']['LSTM']
diff --git a/app/views.py b/app/views.py
index c272e73..698d621 100644
--- a/app/views.py
+++ b/app/views.py
@@ -127,8 +127,8 @@ def status():
done="Queued"
if protein_name == None:
protein_name = r[6]
-
- PDFReport = "/static/uploads/reports/" + str(jobID) + ".pdf"
+
+ PDFReport = "./app/static/uploads/reports/" + str(jobID) + ".pdf"
AndroidModel = "/static/uploads/3DModels/" + str(jobID) + ".gltf"
iOSModel = "/static/uploads/3DModels/" + str(jobID) + ".usdz"
@@ -247,6 +247,7 @@ def generate_pdbqts():
return render_template('pdbqt_form.html',form=myform)
+tfWorking = 0
if app.config['LSTM']:
try:
import tensorflow as tf
diff --git a/config.ini b/config.ini
index a735910..4bbd75a 100644
--- a/config.ini
+++ b/config.ini
@@ -16,7 +16,6 @@ LOG = True
SAVE_LOGS = False
[FILES]
-UPLOAD_FOLDER = ./app/static/uploads
LOG_FOLDER = ./app/logs/
[EXECUTION]