Skip to content

Commit 1af1f50

Browse files
committed
Update runner version and script for export_openstudio_standards_libraries, script was complaining about number of arguments to space_type_apply_internal_loads and space_type_apply_internal_load_schedules even though the number of arguments was correct
1 parent 5dd6ce3 commit 1af1f50

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/export_standards_data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
export-os-standards:
15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-24.04
1616

1717
steps:
1818
- uses: actions/checkout@v4

developer/ruby/export_openstudio_standards_libraries.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,10 @@ def export_openstudio_standards_libraries
470470
std_applier.space_type_apply_rendering_color(space_type)
471471

472472
# Loads
473-
std_applier.space_type_apply_internal_loads(space_type, true, true, true, true, true)
473+
std_applier.space_type_apply_internal_loads(space_type)
474474

475475
# Schedules
476-
std_applier.space_type_apply_internal_load_schedules(space_type, true, true, true, true, true, true)
476+
std_applier.space_type_apply_internal_load_schedules(space_type)
477477

478478
end
479479
end
@@ -535,6 +535,7 @@ def export_openstudio_standards_libraries
535535
log_path = "#{osm_lib_dir}/#{template_name.gsub(/\W/,'_')}.log"
536536
STDERR.puts "* Saving log #{log_path}"
537537
log_messages_to_file(log_path, debug=false)
538+
exit
538539
end
539540

540541
end

0 commit comments

Comments
 (0)