From 009bba6aafac9d2708344cabd225fd485b173b57 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Mon, 26 Mar 2012 18:15:15 +0000 Subject: [PATCH] fixed ugly 1-off bug in locator.rb git-svn-id: http://biopieces.googlecode.com/svn/trunk@1775 74ccb610-7750-0410-82ae-013aeee3265d --- code_ruby/lib/maasha/locator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_ruby/lib/maasha/locator.rb b/code_ruby/lib/maasha/locator.rb index a2a0db0..59bcdb1 100644 --- a/code_ruby/lib/maasha/locator.rb +++ b/code_ruby/lib/maasha/locator.rb @@ -107,7 +107,7 @@ class Locator int_beg = $1.to_i - 1 int_end = $2.to_i - 1 - newseq = Seq.new(nil, @seq.seq[int_beg...int_end], "dna") + newseq = Seq.new(nil, @seq.seq[int_beg..int_end], "dna") unless newseq.seq.nil? newseq.revcomp if comp -- 2.39.5