lib/iroki/main/main.rb in iroki-0.0.32 vs lib/iroki/main/main.rb in iroki-0.0.33

- old
+ new

@@ -145,11 +145,13 @@ biom_f: nil, single_color: nil, name_map_f: nil, auto_color: nil, display_auto_color_options: nil, - newick_f: nil) + newick_f: nil, + min_lumin: 35, + max_lumin: 70) begin out_f = Tempfile.new "foo" self.main(color_branches: color_branches, @@ -161,11 +163,13 @@ single_color: single_color, name_map_f: name_map_f, auto_color: auto_color, display_auto_color_options: display_auto_color_options, newick_f: newick_f, - out_f: out_f) + out_f: out_f, + min_lumin: min_lumin, + max_lumin: max_lumin) ensure if out_f out_f.close out_f.unlink end @@ -191,10 +195,10 @@ args = method(__method__).parameters.map { |arg| arg[1] } AbortIf::logger.info "Args " + args.map { |arg| "#{arg} = #{eval(arg.to_s).inspect}" }.join(', ') if display_auto_color_options STDERR.puts "\n Choices for --auto-color ..." - STDERR.print " - kelly: up to 19 high contrast colors (purple, orange, light blue, red, ...)\n\n" + STDERR.print " - kelly: up to 19 high contrast colors\n\n#{Iroki::Color::Palette::KELLY_TEXT}\n\n" exit end auto_color_options = ["kelly"]