From: martinahansen Date: Tue, 10 Jul 2012 12:09:03 +0000 (+0000) Subject: minor fix to find_adaptor 2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7f8392db77e6fec80912d30b86bc0d0d381d7008;p=biopieces.git minor fix to find_adaptor 2 git-svn-id: http://biopieces.googlecode.com/svn/trunk@1862 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/find_adaptor b/bp_bin/find_adaptor index 1f3a9ef..7ba21a2 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[:SEQ] + if record[:SEQ] and record[:SEQ].length > 0 record[:SEQ_NAME] = number_seq seq = Seq.new_bp(record)