# File lib/cassiopee.rb, line 612 def to_pos positions = Hash.new @matches.each do |match| # match = Array[md5val, errors, posArray] i=0 len = 0 match[2].each do |pos| if(i==0) len = pos else if(positions.has_key?(pos)) posmatch = positions[pos] posmatch << Array[len,match[1]] else posmatch = Array.new posmatch << Array[len,match[1]] positions[pos] = posmatch end end i += 1 end end return positions.sort end