diff --git a/sorter.rb b/sorter.rb old mode 100755 new mode 100644 index 4cf8991..f4bd429 --- a/sorter.rb +++ b/sorter.rb @@ -127,7 +127,7 @@ def process_file (file_name, binfile, type) bins = Hash.new #This hash stores the bins outfile = file_name outfile.slice!('.txt') - #puts outfile + puts outfile output[:filename] = outfile csv.each { |bin| bins[bin[0]] = bin[1..].compact } #turn the csv array into a hash, remove nils bins.each_key do |bin_number|