Skip to content

Commit

Permalink
Fixes the HeatingPerformanceDataPoint.delete method, spotted by @jose…
Browse files Browse the repository at this point in the history
  • Loading branch information
shorowit committed Oct 11, 2024
1 parent afdd388 commit 53638b5
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>1424b04d-aae3-4360-9d50-3324d0babb33</version_id>
<version_modified>2024-10-05T18:13:33Z</version_modified>
<version_id>16835647-9a13-44b7-b907-a57abf30a8d4</version_id>
<version_modified>2024-10-11T14:51:15Z</version_modified>
<xml_checksum>D8922A73</xml_checksum>
<class_name>HPXMLtoOpenStudio</class_name>
<display_name>HPXML to OpenStudio Translator</display_name>
Expand Down Expand Up @@ -357,7 +357,7 @@
<filename>hpxml.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>278B0E8F</checksum>
<checksum>AF9C179B</checksum>
</file>
<file>
<filename>hpxml_schema/HPXML.xsd</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 @@ -11132,7 +11132,7 @@ class HeatingPerformanceDataPoint < BaseElement
# @return [nil]
def delete
(@parent_object.heating_systems + @parent_object.heat_pumps).each do |heating_system|
heating_system.cooling_detailed_performance_data.delete(self)
heating_system.heating_detailed_performance_data.delete(self)
end
end

Expand Down

0 comments on commit 53638b5

Please sign in to comment.