| 968 | } |
| 969 | |
| 970 | void OSRunner::setLastEpwFilePath(const openstudio::path& lastEpwFilePath) { |
| 971 | if (openstudio::filesystem::exists(lastEpwFilePath)) { |
| 972 | m_lastEpwFilePath = openstudio::filesystem::canonical(lastEpwFilePath); |
| 973 | } else { |
| 974 | m_lastEpwFilePath = lastEpwFilePath; |
| 975 | } |
| 976 | m_lastEpwFile.reset(); |
| 977 | } |
| 978 | |
| 979 | void OSRunner::resetLastEpwFilePath() { |
| 980 | m_lastEpwFilePath.reset(); |