From 8c1eee16057551a1faaa15e4aed8e56f9fb37a57 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 7 Jul 2020 11:16:11 +0530 Subject: test query gets deleted once it is succesful --- app/dbTestFiller.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/dbTestFiller.py') 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() -- cgit v1.2.3