Skip to content
Snippets Groups Projects
Commit 8f2f3ebe authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

call python instead of the alias python3

parent dc7d1117
Branches
Tags
2 merge requests!9Develop in Master,!5Issue 77
...@@ -123,7 +123,7 @@ bool Method_D::Process (const PedData& peddata,const std::string& scriptsLocatio ...@@ -123,7 +123,7 @@ bool Method_D::Process (const PedData& peddata,const std::string& scriptsLocatio
ss << std::setw(5) << std::setfill('0') << frid; ss << std::setw(5) << std::setfill('0') << frid;
const std::string str_frid = ss.str(); const std::string str_frid = ss.str();
if(!(frid%100)) if(!(frid%10))
{ {
Log->Write("frame ID = %d",frid); Log->Write("frame ID = %d",frid);
} }
...@@ -496,9 +496,9 @@ void Method_D::OutputVoroGraph(const string & frameId, std::vector<std::pair<po ...@@ -496,9 +496,9 @@ void Method_D::OutputVoroGraph(const string & frameId, std::vector<std::pair<po
if(_plotVoronoiCellData) if(_plotVoronoiCellData)
{ {
string parameters_rho="python3 "+_scriptsLocation+"/_Plot_cell_rho.py -f \""+ voronoiLocation + "\" -n "+ _trajName+"_id_"+_measureAreaId+"_"+frameId+ string parameters_rho="python "+_scriptsLocation+"/_Plot_cell_rho.py -f \""+ voronoiLocation + "\" -n "+ _trajName+"_id_"+_measureAreaId+"_"+frameId+
" -g "+_geometryFileName+" -p "+_trajectoryPath; " -g "+_geometryFileName+" -p "+_trajectoryPath + " -i";
string parameters_v="python3 "+_scriptsLocation+"/_Plot_cell_v.py -f \""+ voronoiLocation + "\" -n "+ _trajName+"_id_"+_measureAreaId+"_"+frameId+ string parameters_v="python "+_scriptsLocation+"/_Plot_cell_v.py -f \""+ voronoiLocation + "\" -n "+ _trajName+"_id_"+_measureAreaId+"_"+frameId+
" -g "+_geometryFileName+" -p "+_trajectoryPath; " -g "+_geometryFileName+" -p "+_trajectoryPath;
Log->Write("INFO:\t%s",parameters_rho.c_str()); Log->Write("INFO:\t%s",parameters_rho.c_str());
Log->Write("INFO:\tPlotting Voronoi Cell at the frame <%s>",frameId.c_str()); Log->Write("INFO:\tPlotting Voronoi Cell at the frame <%s>",frameId.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment