From 98c857df48f04b482e4b443a3ae505c6b19506a7 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 7 Jul 2020 12:32:10 +0530 Subject: changed != to is not ( faster ) --- app/dock_docker.py | 6 +++--- 1 file 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 -- cgit v1.2.3