lib/coderunner/class_methods.rb in coderunner-0.14.14 vs lib/coderunner/class_methods.rb in coderunner-0.14.15

- old
+ new

@@ -562,14 +562,15 @@ raise "Parameters must be an array of inspected hashes" unless copts[:p].kind_of? Array Dir.chdir(copts[:Y]) do runs = runner.filtered_ids.map do |id| eputs id run = runner.run_list[id].dup + + run.resubmit_id = run.id if copts[:smart_resubmit_name] eputs "Smart name" run.set(:naming_pars, [:resubmit_id]) - run.resubmit_id = run.id end run.update_submission_parameters(copts[:p][0], false) run.run_name = nil unless copts[:rerun] run end @@ -709,9 +710,11 @@ #for i in 0...copts[:p].size case copts[:h] when :c copts[:h] = :component when :r + copts[:h] = :real + else copts[:h] = :real end copts[:Y] ||= DEFAULT_COMMAND_OPTIONS[:Y] if DEFAULT_COMMAND_OPTIONS[:Y] if copts[:Y] and copts[:Y] =~ /:/