lib/seqtrimnext/utils/hash_stats.rb in seqtrimnext-2.0.45 vs lib/seqtrimnext/utils/hash_stats.rb in seqtrimnext-2.0.46

- old
+ new

@@ -13,11 +13,12 @@ h[plugin_hash]={} if h[plugin_hash].nil? add_stats.each do |property,hash_value| h[plugin_hash][property]={} if h[plugin_hash][property].nil? + # values need to be in string format because of later loading from json file hash_value.each do |value, count| - h[plugin_hash][property][value]=(h[plugin_hash][property][value]||0) + count + h[plugin_hash][property][value.to_s]=(h[plugin_hash][property][value.to_s]||0) + count end end end end