| 403 | } |
| 404 | |
| 405 | openstudio::path ScheduleFile_Impl::translatedFilePath() const { |
| 406 | if (translateFileWithRelativePath()) { |
| 407 | return toPath(externalFile().fileName()); |
| 408 | } |
| 409 | openstudio::path filePath = externalFile().filePath(); |
| 410 | if (!exists(filePath)) { |
| 411 | LOG(Warn, "Cannot find file \"" << filePath << "\""); |
| 412 | } else { |
| 413 | // make the path correct for this system |
| 414 | filePath = system_complete(filePath); |
| 415 | } |
| 416 | return filePath; |
| 417 | } |
| 418 | |
| 419 | } // namespace detail |
| 420 |