test query gets deleted once it is succesful
This commit is contained in:
parent
5d9fb22120
commit
8c1eee1605
|
@ -59,6 +59,10 @@ except con.IntegrityError:
|
||||||
insert_tuple = (jobID,"navanchauhan@gmail.com",receptor,receptorName,ligand,ligandName,config,done)
|
insert_tuple = (jobID,"navanchauhan@gmail.com",receptor,receptorName,ligand,ligandName,config,done)
|
||||||
mycursor.execute(sqlQuery,insert_tuple)
|
mycursor.execute(sqlQuery,insert_tuple)
|
||||||
|
|
||||||
|
print("Removing Test Query")
|
||||||
|
|
||||||
|
q = 'delete from curieweb where id="%s"' % (jobID)
|
||||||
|
mycursor.execute(q)
|
||||||
|
|
||||||
mycon.commit()
|
mycon.commit()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue