Commit d61883d7 authored by limingbo's avatar limingbo

test

parent f234f504
......@@ -59,10 +59,12 @@ bool getTaskInfo(
TaskInfo &taskInfo)
{
if (!is_directory(taskPath)){
LOG(INFO) << "no directory: " << taskPath;
return false;
}
string rawTraceDir = taskPath + "/raw_trace";
if(!is_directory(rawTraceDir)){
LOG(INFO) << "no directory: " << rawTraceDir;
return false;
}
string trajPath = rawTraceDir + "/sample.gps";
......@@ -70,6 +72,7 @@ bool getTaskInfo(
trajPath = rawTraceDir + "/ie.txt";;
}
if(!exists(trajPath)){
LOG(INFO) << "dont exists: " << trajPath;
return false;
}
taskInfo.taskPath = taskPath;
......@@ -78,6 +81,7 @@ bool getTaskInfo(
if(!exists(meshOutPath)){
taskInfo.meshOutPath = meshOutPath;
}
return true;
}
vector<TaskInfo> meshOutFilter(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment