From 817ff2f0a4be01f45972e06a3228745d0ee456ca Mon Sep 17 00:00:00 2001 From: martinahansen Date: Fri, 29 Nov 2013 20:58:58 +0000 Subject: [PATCH] fixed another each_orf bug git-svn-id: http://biopieces.googlecode.com/svn/trunk@2261 74ccb610-7750-0410-82ae-013aeee3265d --- code_ruby/lib/maasha/seq.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2