From 7f8392db77e6fec80912d30b86bc0d0d381d7008 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Tue, 10 Jul 2012 12:09:03 +0000 Subject: [PATCH] minor fix to find_adaptor 2 git-svn-id: http://biopieces.googlecode.com/svn/trunk@1862 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/find_adaptor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5