lib/openstudio/templates/analysis.json.erb in openstudio-analysis-0.1.6 vs lib/openstudio/templates/analysis.json.erb in openstudio-analysis-0.1.7

- old
+ new

@@ -2,18 +2,18 @@ "analysis": { "display_name": "<%= @name %>", "name": "<%= @name.downcase.gsub(" ", "_") %>", "algorithm": { "sample_method": "lhs", - "number_of_samples": <%= @number_of_samples %> + "number_of_samples": <%= @problem['number_of_samples'].to_i %> }, "parameter_space": [], "problem": { - "number_of_samples_KEEP_HERE_UNTIL_ALGO_IS_IMPLEMENTED": <%= @number_of_samples %>, - "number_of_samples": <%= @number_of_samples %>, + "number_of_samples_KEEP_HERE_UNTIL_ALGO_IS_IMPLEMENTED": <%= @problem['number_of_samples'].to_i %>, + "number_of_samples": <%= @problem['number_of_samples'].to_i %>, "algorithm": { - "number_of_samples": <%= @number_of_samples %>, - "sample_method": "all_variables" + "number_of_samples": <%= @problem['number_of_samples'].to_i %>, + "sample_method": <%= @problem['sensitivity_method'].to_i %> }, "name": "Problem", "workflow": [] }, "seed": {