aboutsummaryrefslogtreecommitdiff
path: root/app/dbTestFiller.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/dbTestFiller.py')
-rw-r--r--app/dbTestFiller.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/dbTestFiller.py b/app/dbTestFiller.py
index db3700a..48f8c16 100644
--- a/app/dbTestFiller.py
+++ b/app/dbTestFiller.py
@@ -59,6 +59,10 @@ except con.IntegrityError:
insert_tuple = (jobID,"navanchauhan@gmail.com",receptor,receptorName,ligand,ligandName,config,done)
mycursor.execute(sqlQuery,insert_tuple)
+print("Removing Test Query")
+
+q = 'delete from curieweb where id="%s"' % (jobID)
+mycursor.execute(q)
mycon.commit()