From: martinahansen Date: Fri, 29 Nov 2013 20:58:58 +0000 (+0000) Subject: fixed another each_orf bug X-Git-Url: https://git.donarmstrong.com/?p=biopieces.git;a=commitdiff_plain;h=817ff2f0a4be01f45972e06a3228745d0ee456ca fixed another each_orf bug git-svn-id: http://biopieces.googlecode.com/svn/trunk@2261 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/code_ruby/lib/maasha/seq.rb b/code_ruby/lib/maasha/seq.rb index 5e4d1b5..8231f66 100644 --- a/code_ruby/lib/maasha/seq.rb +++ b/code_ruby/lib/maasha/seq.rb @@ -681,6 +681,8 @@ class Seq orfs << [subseq, pos_beg, pos_end + 3] end + + break end pos_end += 1