From 8f2f3ebeea6be1e4ef37737e80c0eaa05fc8b183 Mon Sep 17 00:00:00 2001
From: Mohcine Chraibi <m.chraibi@fz-juelich.de>
Date: Mon, 7 May 2018 17:17:50 +0200
Subject: [PATCH] call python instead of the alias python3

---
 methods/Method_D.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/methods/Method_D.cpp b/methods/Method_D.cpp
index 803c5bbe..ba66cf90 100644
--- a/methods/Method_D.cpp
+++ b/methods/Method_D.cpp
@@ -123,7 +123,7 @@ bool Method_D::Process (const PedData& peddata,const std::string& scriptsLocatio
           ss << std::setw(5) << std::setfill('0') << frid;
           const std::string str_frid = ss.str();
 
-          if(!(frid%100))
+          if(!(frid%10))
           {
                Log->Write("frame ID = %d",frid);
           }
@@ -496,9 +496,9 @@ void Method_D::OutputVoroGraph(const string & frameId,  std::vector<std::pair<po
 
      if(_plotVoronoiCellData)
      {
-          string parameters_rho="python3 "+_scriptsLocation+"/_Plot_cell_rho.py -f \""+ voronoiLocation + "\" -n "+ _trajName+"_id_"+_measureAreaId+"_"+frameId+
-               " -g "+_geometryFileName+" -p "+_trajectoryPath;
-          string parameters_v="python3 "+_scriptsLocation+"/_Plot_cell_v.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 + " -i";
+          string parameters_v="python "+_scriptsLocation+"/_Plot_cell_v.py -f \""+ voronoiLocation + "\" -n "+ _trajName+"_id_"+_measureAreaId+"_"+frameId+
                " -g "+_geometryFileName+" -p "+_trajectoryPath;
           Log->Write("INFO:\t%s",parameters_rho.c_str());
           Log->Write("INFO:\tPlotting Voronoi Cell at the frame <%s>",frameId.c_str());
-- 
GitLab