diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/backend_test.py | 2 | ||||
-rw-r--r-- | app/dock_docker.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/backend_test.py b/app/backend_test.py index 004a853..d0f2312 100644 --- a/app/backend_test.py +++ b/app/backend_test.py @@ -3,7 +3,7 @@ import mysql.connector as con mycon = con.connect(host="navanspi.duckdns.org",user="curieweb",password="curie-web-russian-54",port=3306,database="curie") mycursor = mycon.cursor() -sql_select_Query = "select * from curieweb where id=2idcjxfsxla03oux LIMIT 1" +sql_select_Query = 'select * from curieweb where id="2idcjxfsxla03oux" LIMIT 1' mycursor.execute(sql_select_Query) records = mycursor.fetchall() diff --git a/app/dock_docker.py b/app/dock_docker.py index 2e13253..2b0c959 100644 --- a/app/dock_docker.py +++ b/app/dock_docker.py @@ -52,9 +52,9 @@ jobID = r[0] toEmail = r[1] targetB = r[2] if r[3] != None: - receptor_name = str(r[3]) + ".pdbqt" + receptor_name = str(r[3]) if r[6] != None: - ligand_name = str(r[6]) + ".pdbqt" + ligand_name = str(r[6]) ligandB = r[4] configB = r[7] date = r[8] |