]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed global SCORE_BASE in mean_scores
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 28 Feb 2013 13:56:09 +0000 (13:56 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 28 Feb 2013 13:56:09 +0000 (13:56 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@2107 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/mean_scores

index 6e1ee59803b8ca95e90abdc5a5aa9af44380ee1a..ed9ab8c409e82e24d1e30c5e053afebe4674a651 100755 (executable)
@@ -31,8 +31,6 @@
 require 'maasha/biopieces'
 require 'maasha/seq'
 require 'inline'
-require 'pp'
-
 
 # Opening class Seq to add scores_mean_local(_C) methods.
 class Seq
@@ -40,7 +38,7 @@ class Seq
   # scores string and calculate for each window the mean score and return
   # the minimum mean score.
   def scores_mean_local(window_size)
-    scores_mean_local_C(self.qual, self.length, SCORE_BASE, window_size)
+    scores_mean_local_C(self.qual, self.length, Seq::SCORE_BASE, window_size)
   end
 
   inline do |builder|