openstudio::path WorkflowJSON_Impl::absoluteRunDir() const { openstudio::path result = runDir(); if (result.is_relative()){ return canonicalOrAbsolute(result, absoluteRootDir()); } return result; }
void GraphicsReportView::delete_run_dir(const QString& dir) { QDir runDir(dir); QStringList filesInDir; filesInDir = runDir.entryList(); foreach(QString fileEntry, filesInDir) { runDir.remove(fileEntry); }