changed != to is not

This commit is contained in:
Navan Chauhan 2020-07-07 12:31:30 +05:30
parent 2e0cdbd478
commit a0e79b2b5c
1 changed files with 3 additions and 3 deletions

View File

@ -52,14 +52,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