lib/trinitycrmod/trinity_gs2.rb in trinitycrmod-0.5.8 vs lib/trinitycrmod/trinity_gs2.rb in trinitycrmod-0.6.0

- old
+ new

@@ -60,12 +60,14 @@ make_new_defaults_file(name, trinity_input_file) CodeRunner::Gs2.make_new_defaults_file(name + '_gs2tmp', gs2_input_file) File.open(defaults_filename, 'a'){|file| file.puts <<EOF2 +@set_flux_defaults_proc = Proc.new do gs2_runs.each do |run| run.instance_eval do #{File.read(tmp_filename).gsub(/\A|\n/, "\n ")} +end end end EOF2