From bb02df97a6d6562b3302dc23c42da421565feb85 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 27 Sep 2020 01:17:15 +0530 Subject: corrected reason and removed from email --- app/dock-manual.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/dock-manual.py') 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) -- cgit v1.2.3