aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-27 01:17:15 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-27 01:17:15 +0530
commitbb02df97a6d6562b3302dc23c42da421565feb85 (patch)
treeb2b044c6f29f80d9e5abe803649c79bb97665d22
parentf35398d32d4cbff242c4d16fa4e757d383a51dc5 (diff)
corrected reason and removed from email
-rw-r--r--app/dock-manual.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/dock-manual.py b/app/dock-manual.py
index 0734b14..442b76d 100644
--- a/app/dock-manual.py
+++ b/app/dock-manual.py
@@ -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)