From 4385f2b608deb085228c0d349d251e09b4070884 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Thu, 13 Mar 2014 17:17:28 -0400 Subject: whistpace and 1 --- src/score_mers.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3