lib/trinitycrmod/trinity_gs2.rb in trinitycrmod-0.3.8 vs lib/trinitycrmod/trinity_gs2.rb in trinitycrmod-0.3.9

- old
+ new

@@ -48,10 +48,10 @@ # Raises an error if flux_option != "gs2" def gs2_runs raise FluxOptionError.new("gs2_runs called and flux_option != gs2") if not flux_gs2? #puts "2@COMMMMMMMMMMMMMPOOOOOOOOOOOOOONNNETN", @component_runs - generate_component_runs if not (@component_runs and @component_runs.size > 0) + generate_component_runs if not (@component_runs and @component_runs.size == n_flux_tubes) #p ["@COMMMMMMMMMMMMMPOOOOOOOOOOOOOONNNETN", @component_runs] @component_runs #@gs2_run_list ||= {} #raise TypeError.new("@runner is nil") if @runner.nil? #@gs2_run_list[key] ||= Gs2.new(@runner)