Skip to content

Commit

Permalink
Merge pull request #1766 from NREL/hpxml_class_bugfix
Browse files Browse the repository at this point in the history
Minor HPXML class bugfix
  • Loading branch information
shorowit committed Jul 2, 2024
2 parents 8d810f9 + 62cc529 commit e10e41e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions HPXMLtoOpenStudio/measure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<schema_version>3.1</schema_version>
<name>hpxm_lto_openstudio</name>
<uid>b1543b30-9465-45ff-ba04-1d1f85e763bc</uid>
<version_id>36571362-080b-41e8-a06b-64cbbce8f0d5</version_id>
<version_modified>2024-07-01T16:49:18Z</version_modified>
<version_id>423dde30-61b6-4cc2-bbb6-e14b436faac7</version_id>
<version_modified>2024-07-02T00:19:28Z</version_modified>
<xml_checksum>D8922A73</xml_checksum>
<class_name>HPXMLtoOpenStudio</class_name>
<display_name>HPXML to OpenStudio Translator</display_name>
Expand Down Expand Up @@ -345,7 +345,7 @@
<filename>hpxml.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>4F11ECF6</checksum>
<checksum>8AC77BF7</checksum>
</file>
<file>
<filename>hpxml_defaults.rb</filename>
Expand Down
2 changes: 1 addition & 1 deletion HPXMLtoOpenStudio/resources/hpxml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ def to_doc(building)
end

if site.children.size == 0
bldg_summary = XMLHelper.get_element(doc, '/HPXML/Building/BuildingDetails/BuildingSummary')
bldg_summary = XMLHelper.get_element(building, 'BuildingDetails/BuildingSummary')
XMLHelper.delete_element(bldg_summary, 'Site')
end
end
Expand Down

0 comments on commit e10e41e

Please sign in to comment.