changeset 10:1b0547d3c7bc draft

Uploaded
author bornea
date Tue, 29 Mar 2016 14:46:04 -0400
parents d6a427973fe4
children b688d0dae86b
files SAINT_preprocessing.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/SAINT_preprocessing.py	Tue Mar 15 16:10:00 2016 -0400
+++ b/SAINT_preprocessing.py	Tue Mar 29 14:46:04 2016 -0400
@@ -132,7 +132,7 @@
             if uniprot_accession_in == data_line.split("|")[1]:
                 match = count + 1
                 if 'GN=' in data_line:
-                    lst = data_linedata_line.split('GN=')
+                    lst = data_line.split('GN=')
                     lst2 = lst[1].split(' ')
                     genename = lst2[0]
                 if 'GN=' not in data_line:
@@ -144,7 +144,7 @@
                     else:
                         break
                 return ReturnValue1(seqlength, genename)
-        elif uniprot_accession_in == namer.split(" ")[0]:
+        if uniprot_accession_in == namer.split(" ")[0]:
             match = count + 1
             # Ensures consistent spacing throughout.
             if 'GN=' in data_line: