From: martinahansen Date: Thu, 28 Feb 2013 13:56:09 +0000 (+0000) Subject: fixed global SCORE_BASE in mean_scores X-Git-Url: https://git.donarmstrong.com/?p=biopieces.git;a=commitdiff_plain;h=658943d07afe151e66c8ddfa0fc1708a48515f9d fixed global SCORE_BASE in mean_scores git-svn-id: http://biopieces.googlecode.com/svn/trunk@2107 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/mean_scores b/bp_bin/mean_scores index 6e1ee59..ed9ab8c 100755 --- a/bp_bin/mean_scores +++ b/bp_bin/mean_scores @@ -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|