]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed another each_orf bug
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 29 Nov 2013 20:58:58 +0000 (20:58 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 29 Nov 2013 20:58:58 +0000 (20:58 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@2261 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/lib/maasha/seq.rb

index 5e4d1b528027b9af8c2a4d80b9a26696f71ceb12..8231f66659fe17bb29f0f0433b6ace1bd3752dcf 100644 (file)
@@ -681,6 +681,8 @@ class Seq
 
             orfs << [subseq, pos_beg, pos_end + 3]
           end
+
+          break
         end
 
         pos_end += 1