From: martinahansen Date: Tue, 24 May 2011 12:36:45 +0000 (+0000) Subject: fixed strange bug in find_adaptor X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=50bb4c0c9c26a71fecd462647172a066e2d05f66;p=biopieces.git fixed strange bug in find_adaptor git-svn-id: http://biopieces.googlecode.com/svn/trunk@1423 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/find_adaptor b/bp_bin/find_adaptor index 9ada12c..5379309 100755 --- a/bp_bin/find_adaptor +++ b/bp_bin/find_adaptor @@ -63,7 +63,7 @@ class PatScan matches = {} Fasta.open(@file_patscan, mode='r') do |ios| - ios.each_entry do |entry| + ios.each do |entry| if entry.seq_name =~ /^(\d+):\[(\d+),(\d+)\]$/ name = $1.to_i start = $2.to_i - 1