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