diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-03-13 17:17:28 -0400 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-03-13 17:17:28 -0400 |
commit | 4385f2b608deb085228c0d349d251e09b4070884 (patch) | |
tree | f77190caced1ca51205590e34c6bbb767f5c09a0 | |
parent | 8200fba820749f34052d851fbe17f56d56f65976 (diff) |
whistpace and 1
-rwxr-xr-x | src/score_mers.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/score_mers.py b/src/score_mers.py index a049340..2a50dcf 100755 --- a/src/score_mers.py +++ b/src/score_mers.py @@ -206,7 +206,7 @@ def score(combination): for mer in combination: bg_pts = bg_pts + bg_mers[mer].pts - if len(bg_pts()) <= 0: + if len(bg_pts()) <= 1: bg_pts.append(0, 1, fg_genome_length) bg_pts.sort() @@ -241,7 +241,7 @@ def load_heterodimer_dic(selected_mers): # print res, heterodimer_dic[(mer1, mer2)] def main(): - ''' + ''' Basic worflow: Load Top X Selective Primers @@ -272,7 +272,6 @@ def main(): print "Populating foreground locations" map(pop_fg, selected_mers) - print "Populating background locations" map(pop_bg, selected_mers) |