Merge branch 'master' of github.com:navanchauhan/Curie-Web

added a test email, now merging
This commit is contained in:
Navan Chauhan 2020-08-25 23:31:26 +05:30
commit c6aaa8a975
1 changed files with 3 additions and 3 deletions

View File

@ -42,14 +42,14 @@ sqlQuery = "insert into curieweb (id, email, protein, protein_name, ligand_pdbqt
jobID = gen_word(16, 1, 1)
print("Succesfuly submitted Job ID:",jobID)
insert_tuple = (jobID,"navanchauhan@gmail.com",receptor,receptorName,ligand,ligandName,config,done)
insert_tuple = (jobID,"b5bmf.{curie-gh-ci}@inbox.testmail.app",receptor,receptorName,ligand,ligandName,config,done)
try:
mycursor.execute(sqlQuery,insert_tuple)
except con.IntegrityError:
print("Oops, Collision occured. Generating new Job ID and trying again.")
jobID = gen_word(16, 1, 1)
insert_tuple = (jobID,"navanchauhan@gmail.com",receptor,receptorName,ligand,ligandName,config,done)
insert_tuple = (jobID,"b5bmf.{curie-gh-ci}@inbox.testmail.app",receptor,receptorName,ligand,ligandName,config,done)
mycursor.execute(sqlQuery,insert_tuple)
print("Removing Test Query")
@ -59,4 +59,4 @@ mycursor.execute(q)
mycon.commit()
print("Database working perfectly")
print("Database working perfectly")