aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-07-07 12:32:10 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-07-07 12:32:10 +0530
commit98c857df48f04b482e4b443a3ae505c6b19506a7 (patch)
tree6d2782687d5e41359f9174197c7bafb0cdd9f411 /app
parenta0e79b2b5c1742898bb0ebcf926398e2b357a939 (diff)
changed != to is not ( faster )
Diffstat (limited to 'app')
-rw-r--r--app/dock_docker.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/dock_docker.py b/app/dock_docker.py
index 54f413c..895b92f 100644
--- a/app/dock_docker.py
+++ b/app/dock_docker.py
@@ -51,14 +51,14 @@ r = records[0]
jobID = r[0]
toEmail = r[1]
targetB = r[2]
-if r[3] != None:
+if r[3] is not None:
receptor_name = str(r[3])
-if r[6] != None:
+if r[6] is not None:
ligand_name = str(r[6])
ligandB = r[4]
configB = r[7]
date = r[8]
-if r[9] != None:
+if r[9] is not None:
description = r[9]
import os