Previous changeset 12:3e1b66d58f94 (2016-04-12) Next changeset 14:c22c1209e65f (2016-04-12) |
Commit message:
Uploaded |
modified:
SAINT_preprocessing.py |
b |
diff -r 3e1b66d58f94 -r febb6def95cb SAINT_preprocessing.py --- 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) |