From: martinahansen Date: Tue, 10 Jul 2012 12:06:09 +0000 (+0000) Subject: minor fix to find_adaptor X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=98d6bd226cd081d0c6d329d7611c319964db01ba;p=biopieces.git minor fix to find_adaptor git-svn-id: http://biopieces.googlecode.com/svn/trunk@1861 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/find_adaptor b/bp_bin/find_adaptor index 290af5a..1f3a9ef 100755 --- a/bp_bin/find_adaptor +++ b/bp_bin/find_adaptor @@ -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)