| 55 | } |
| 56 | |
| 57 | Workspace loadIDF(const openstudio::filesystem::path& idfPath) { |
| 58 | LOG_FREE(Info, "openstudio.worklow.Util", "Loading IDF workspace"); |
| 59 | LOG_FREE(Info, "openstudio.worklow.Util", "Reading in IDF workspace " << idfPath); |
| 60 | |
| 61 | auto idf_ = Workspace::load(idfPath); |
| 62 | if (!idf_) { |
| 63 | throw std::runtime_error(fmt::format("Failed to load IDF file {}\n", openstudio::toString(idfPath))); |
| 64 | } |
| 65 | return idf_.get(); |
| 66 | }; |
| 67 | |
| 68 | void gatherReports(const openstudio::filesystem::path& runDirPath, const openstudio::filesystem::path& rootDirPath) { |
| 69 | namespace fs = openstudio::filesystem; |
no test coverage detected