changed != to is not ( faster )

This commit is contained in:
Navan Chauhan 2020-07-07 12:32:10 +05:30
parent a0e79b2b5c
commit 98c857df48
1 changed files with 3 additions and 3 deletions

View File

@ -51,14 +51,14 @@ r = records[0]
jobID = r[0] jobID = r[0]
toEmail = r[1] toEmail = r[1]
targetB = r[2] targetB = r[2]
if r[3] != None: if r[3] is not None:
receptor_name = str(r[3]) receptor_name = str(r[3])
if r[6] != None: if r[6] is not None:
ligand_name = str(r[6]) ligand_name = str(r[6])
ligandB = r[4] ligandB = r[4]
configB = r[7] configB = r[7]
date = r[8] date = r[8]
if r[9] != None: if r[9] is not None:
description = r[9] description = r[9]
import os import os