fixed ligad+receprot names and fixing backend test
This commit is contained in:
parent
c5302c7903
commit
5d9fb22120
|
@ -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()
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue