]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/align/match.rb
fixed bad tests in match.rb
[biopieces.git] / code_ruby / lib / maasha / align / match.rb
index d6a800865544267218eb7c4eb5343535f367573c..47a5fbd523aecba4ab81b51394a656eb4362c770 100644 (file)
@@ -58,7 +58,7 @@ class Match
   end
 
   def to_s(seq = nil)
-    s = "q: #{@q_beg}, s: #{@s_beg}, l: #{@length}, s: #{@score}"
+    s = "q: #{@q_beg} #{self.q_end} s: #{@s_beg} #{self.s_end} l: #{@length} s: #{@score}"
     s << " #{seq[@q_beg .. q_end]}" if seq
 
     s