Repository 'saint_preprocessing'
hg clone https://toolshed.g2.bx.psu.edu/repos/bornea/saint_preprocessing

Changeset 47:8ca1d3bc5906 (2016-05-19)
Previous changeset 46:5b2a60b59f46 (2016-05-19) Next changeset 48:265f5ae47a56 (2016-05-19)
Commit message:
Uploaded
modified:
SAINT_preprocessing_mq_pep.py
b
diff -r 5b2a60b59f46 -r 8ca1d3bc5906 SAINT_preprocessing_mq_pep.py
--- a/SAINT_preprocessing_mq_pep.py Thu May 19 10:59:04 2016 -0400
+++ b/SAINT_preprocessing_mq_pep.py Thu May 19 11:54:41 2016 -0400
[
@@ -272,7 +272,7 @@
                 if lst[0] in valid_prots:
                     input_file.write(header[bait_index[l]] + '\t' + bb[1] + '\t' + lst[0] + '\t' + lst[bait_index[l]] + '\n')
                 a += 1
-                if a == len(valid_prots):
+                if a == len(proteins):
                     l += 1; a = 0