MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / runPostProcess

Method runPostProcess

src/workflow/RunPostProcess.cpp:12–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace openstudio {
11
12void OSWorkflow::runPostProcess() {
13 state = State::PostProcess;
14
15 if (!workflowJSON.runOptions()->fast()) {
16 LOG(Info, "Gathering reports");
17 openstudio::workflow::util::gatherReports(workflowJSON.absoluteRunDir(), workflowJSON.absoluteRootDir());
18 LOG(Info, "Finished gathering reports");
19 }
20 // If no points have been exported, skip file creation
21 if (!runner.alfalfa().points().empty()) {
22 LOG(Info, "Saving Alfalfa points");
23 auto savePath = workflowJSON.absoluteRunDir() / "alfalfa.json";
24 runner.alfalfa().saveAs(savePath);
25 LOG(Info, "Finished saving Alfalfa points");
26 }
27}
28
29} // namespace openstudio

Callers

nothing calls this directly

Calls 9

gatherReportsFunction · 0.85
fastMethod · 0.80
runOptionsMethod · 0.80
absoluteRunDirMethod · 0.80
absoluteRootDirMethod · 0.80
alfalfaMethod · 0.80
emptyMethod · 0.45
pointsMethod · 0.45
saveAsMethod · 0.45

Tested by

no test coverage detected