]> git.donarmstrong.com Git - biopieces.git/commitdiff
minor fix to find_adaptor 2
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 10 Jul 2012 12:09:03 +0000 (12:09 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 10 Jul 2012 12:09:03 +0000 (12:09 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1862 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/find_adaptor

index 1f3a9ef26418c38e32c8e1674885662ff14b6ea5..7ba21a24fa6a921e411b1820f58488775e614bbd 100755 (executable)
@@ -201,7 +201,7 @@ Biopieces.open(options[:stream_in], file_records) do |input, output|
   input.each do |record|
     output.puts record
 
-    if record[:SEQ]
+    if record[:SEQ] and record[:SEQ].length > 0
       record[:SEQ_NAME] = number_seq
 
       seq = Seq.new_bp(record)