uncommented printing output file naem
parent
4e1b862586
commit
d40b0ae985
|
@ -127,7 +127,7 @@ def process_file (file_name, binfile, type)
|
||||||
bins = Hash.new #This hash stores the bins
|
bins = Hash.new #This hash stores the bins
|
||||||
outfile = file_name
|
outfile = file_name
|
||||||
outfile.slice!('.txt')
|
outfile.slice!('.txt')
|
||||||
#puts outfile
|
puts outfile
|
||||||
output[:filename] = outfile
|
output[:filename] = outfile
|
||||||
csv.each { |bin| bins[bin[0]] = bin[1..].compact } #turn the csv array into a hash, remove nils
|
csv.each { |bin| bins[bin[0]] = bin[1..].compact } #turn the csv array into a hash, remove nils
|
||||||
bins.each_key do |bin_number|
|
bins.each_key do |bin_number|
|
||||||
|
|
Loading…
Reference in New Issue