diff CRAPomeQuery.py @ 19:f1459638e1bc draft default tip

Uploaded
author bornea
date Fri, 29 Apr 2016 15:49:34 -0400
parents 378fc3676c78
children
line wrap: on
line diff
--- a/CRAPomeQuery.py	Fri Apr 29 15:42:37 2016 -0400
+++ b/CRAPomeQuery.py	Fri Apr 29 15:49:34 2016 -0400
@@ -106,7 +106,7 @@
                 if 'GN=' not in name_info:
                     genename = 'NA'
                     return ReturnValue1(uniprot_acc, genename, swissprot)
-        if sp = ">sp":
+        if sp == ">sp":
             error.close()
         else:
             error.write(uniprot_accession_in + '\t' + "Blank Fasta" + '\n')