corrected reason and removed from email
This commit is contained in:
parent
f35398d32d
commit
bb02df97a6
|
@ -84,8 +84,8 @@ with tempfile.TemporaryDirectory() as directory:
|
|||
sys.exit(0)
|
||||
res = get3DModel(receptor_name,ligand_name.replace(".pdbqt","_out.pdbqt"))
|
||||
if res == None:
|
||||
reason = "Could not generate the report, this could be because of a failed docking job. Please check the ZIP archive for the configuration and converted PDBQTs and try submitting manually. "
|
||||
email(toaddr,jobID,date,description,zipArchive=zi,reason=reason)
|
||||
reason = "Could not generate the 3D models."
|
||||
email(toaddr,jobID,date,description,zipArchive=zi)
|
||||
mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID))
|
||||
mycon.commit()
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Reference in New Issue