WorkflowJSON constantly calling setMeasureTypes (in the Ctor, in clone, in save, etc) #5083
Labels
component - logs and warnings
Enhancement Request
Triage
Issue needs to be assessed and labeled, further information on reported might be needed
ValidateXML getting called a lot.
This is from slack convo from Julien:
WorkflowJSON.cpp
(https://github.com/NREL/OpenStudio/blob/1ce97f5651ff868500e4168aaa8e0a441559edce/src/utilities/filetypes/WorkflowJSON.cpp)
for (const auto& step : m_steps) {
if (step.optionalCastMeasureStep()) {
boost::optionalBCLMeasure bclMeasure = getBCLMeasure(step.castMeasureStep());
https://github.com/[NREL/OpenStudio](https://github.com/NREL/OpenStudio)|NREL/OpenStudioNREL/OpenStudio | Added by GitHub
10:18
that in turns loads the BCLMeasure, which validates the XML...
I do not get this to the out.osw “stdout” key with 3.7.0 on unix at least, but it’s in the run.log
that constant loading the BCLMeasure has been here for 8 years. What changed is that there used to be no XMLValidator happening.
The text was updated successfully, but these errors were encountered: