Skip to content

Commit

Permalink
fixes issue #95
Browse files Browse the repository at this point in the history
In the API a curve is a resources so the warnings about multiple parents is invalid and should not prevent a measure from running.
  • Loading branch information
DavidGoldwasser authored Feb 24, 2021
1 parent 90df535 commit f62c497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/openstudio/extension/core/os_lib_helper_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ def self.log_msgs
msg.logChannel.include?('runmanager') || # RunManager messages
msg.logChannel.include?('setFileExtension') || # .ddy extension unexpected
msg.logChannel.include?('Translator') || # Forward translator and geometry translator
msg.logMessage.include?('UseWeatherFile') # 'UseWeatherFile' is not yet a supported option for YearDescription
msg.logMessage.include?('UseWeatherFile') || # 'UseWeatherFile' is not yet a supported option for YearDescription
msg.logMessage.include?('has multiple parents') # 'has multiple parents' is thrown for various types of curves if used in multiple objects

# Report the message in the correct way
if msg.logLevel == OpenStudio::Info
Expand Down

0 comments on commit f62c497

Please sign in to comment.