removed upload folder from config.ini

This commit is contained in:
Navan Chauhan 2020-09-10 12:39:26 +05:30
parent 4b48546cea
commit 3f0346b2bb
3 changed files with 3 additions and 4 deletions

View File

@ -9,7 +9,6 @@ DB_PORT = config['DATABASE']['PORT']
DB_USER = config['DATABASE']['USER'] DB_USER = config['DATABASE']['USER']
DB_PASSWORD = config['DATABASE']['PASSWORD'] DB_PASSWORD = config['DATABASE']['PASSWORD']
DB_NAME = config['DATABASE']['NAME'] DB_NAME = config['DATABASE']['NAME']
UPLOAD_FOLDER = config['FILES']['UPLOAD_FOLDER']
LOG_FOLDER = config['FILES']['LOG_FOLDER'] LOG_FOLDER = config['FILES']['LOG_FOLDER']
INSTANT_EXEC = config['EXECUTION']['INSTANT'] INSTANT_EXEC = config['EXECUTION']['INSTANT']
LSTM = config['FEATURES']['LSTM'] LSTM = config['FEATURES']['LSTM']

View File

@ -127,8 +127,8 @@ def status():
done="Queued" done="Queued"
if protein_name == None: if protein_name == None:
protein_name = r[6] 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" AndroidModel = "/static/uploads/3DModels/" + str(jobID) + ".gltf"
iOSModel = "/static/uploads/3DModels/" + str(jobID) + ".usdz" iOSModel = "/static/uploads/3DModels/" + str(jobID) + ".usdz"
@ -247,6 +247,7 @@ def generate_pdbqts():
return render_template('pdbqt_form.html',form=myform) return render_template('pdbqt_form.html',form=myform)
tfWorking = 0
if app.config['LSTM']: if app.config['LSTM']:
try: try:
import tensorflow as tf import tensorflow as tf

View File

@ -16,7 +16,6 @@ LOG = True
SAVE_LOGS = False SAVE_LOGS = False
[FILES] [FILES]
UPLOAD_FOLDER = ./app/static/uploads
LOG_FOLDER = ./app/logs/ LOG_FOLDER = ./app/logs/
[EXECUTION] [EXECUTION]