changeset 13:febb6def95cb draft

Uploaded
author bornea
date Tue, 12 Apr 2016 14:40:42 -0400
parents 3e1b66d58f94
children c22c1209e65f
files SAINT_preprocessing.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/SAINT_preprocessing.py	Tue Apr 12 13:24:36 2016 -0400
+++ b/SAINT_preprocessing.py	Tue Apr 12 14:40:42 2016 -0400
@@ -57,7 +57,7 @@
         for input_line in read_infile:
             input_line = input_line.strip()
             temp = input_line.split('\t')
-            if "Quantitative Variance" in str(temp):
+            if "Accession Number" in str(temp):
                 if baits[i] in temp:                    
                     number_bait = temp.index(str(baits[i]))
                     number_bait = number_bait - 9
@@ -212,9 +212,8 @@
                     proteins.append(prot_id)
                 elif "_MOUSE" in prot_id:
                     proteins.append(prot_id)
-                else: 
+                else:
                     print "Accession must be uniprot ID or gene name"
-                    sys.exit()
     return ReturnValue2(data, proteins, header)