lib/bio/PolyploidTools/ExonContainer.rb in bio-polyploid-tools-0.9.4 vs lib/bio/PolyploidTools/ExonContainer.rb in bio-polyploid-tools-0.9.5

- old
+ new

@@ -216,10 +216,10 @@ end def remove_alignments_over_max_hits @snp_map.each_pair do | gene, snp_array| snp_array.each do |snp| - total_hits = snp.exon_list.map { |e| e.size }.reduce(0,:+) + total_hits = snp.exon_list.map {|e| e[1].size}.reduce(0,:+) snp.hit_count = total_hits if total_hits > max_hits snp.exon_list = {} snp.repetitive = true snp.errors << "The marker is in a repetitive region (#{total_hits} hits to reference)" \ No newline at end of file