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

bp_bin/find_adaptor

index 290af5a19dfa5da0614f0ea911ec1c6c636bf63c..1f3a9ef26418c38e32c8e1674885662ff14b6ea5 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.has_key? :SEQ
+    if record[:SEQ]
       record[:SEQ_NAME] = number_seq
 
       seq = Seq.new_bp(record)