lib/experiment.rb in expetable-0.2.2 vs lib/experiment.rb in expetable-0.2.3

- old
+ new

@@ -82,10 +82,12 @@ puts "Current Experiments" puts "ID\tname" @list.each_with_index do |item, i| fake_name = item[:fake_phy].nil? ? "-" : File.basename(item[:fake_phy]) initial_name = item[:initial_phy].nil? ? "-" : File.basename(item[:initial_phy]) - puts "#{i}\t#{item[:name]}\t fake: #{fake_name} \t init: #{initial_name} Best LH: #{item["bestLH"]}" + parsi_size = item[:parsi_size] || "?" + bunch_size = item[:bunch_size] || "?" + puts "#{i}\t#{item[:name]}\t fake: #{fake_name} \t init: #{initial_name} Best LH: #{item["bestLH"]} (out of parsi #{parsi_size}, bunch end size #{bunch_size})" item.keys.select{|k| k =~ /^u\d+$/}.sort.each do |update_key| puts " #{update_key}: #{item[update_key]}" end end end