changeset 47:8ca1d3bc5906 draft

Uploaded
author bornea
date Thu, 19 May 2016 11:54:41 -0400
parents 5b2a60b59f46
children 265f5ae47a56
files SAINT_preprocessing_mq_pep.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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