Skip to content

Conversation

@jmarrec
Copy link
Contributor

@jmarrec jmarrec commented Mar 20, 2025

Comment on lines +477 to +486

# Just in case this workflow-gem is used (via bundle) in an
# older OS SDK version, where the base class doesn't have it,
# we check for existence to begin with
if measure_object.respond_to?(:modelOutputRequests)
# If there is an overidden method in the measure itself: Warn
if measure_object.method(:modelOutputRequests).owner == measure_object.class
logger.error "Reporting Measure at '#{measure_path}' has a 'modelOutputRequests' method, but that is only available in the C++ CLI, it will NOT be run."
end
end
Copy link
Contributor Author

@jmarrec jmarrec Mar 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before running the energyPlusOutputRequests, check if there is an overriden modelOutputRequests and just log an error saying it's not going to be run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants