lib/from_honeybee/simulation/parameter.rb in honeybee-openstudio-2.0.1 vs lib/from_honeybee/simulation/parameter.rb in honeybee-openstudio-2.0.2
- old
+ new
@@ -242,10 +242,9 @@
end
if @hash[:output][:summary_reports]
begin
os_report = @openstudio_model.getOutputTableSummaryReports
rescue # REMOVE: Once the upgrade to OpenStudio 3.0 is official
- os_report = OpenStudio::Model::OutputTableSummaryReports.new(@openstudio_model)
end
@hash[:output][:summary_reports].each do |report|
begin
os_report.addSummaryReport(report)
rescue NoMethodError # REMOVE: Once the upgrade to OpenStudio 3.0 is official