From a5ab23b4d2baf59fd0c0e3db34c4353ff811bf4c Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Tue, 8 May 2018 21:30:03 +0200 Subject: [PATCH] fix bug in parameters passed to plot script --- methods/Method_D.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/methods/Method_D.cpp b/methods/Method_D.cpp index f79133f8..39ccc0ba 100644 --- a/methods/Method_D.cpp +++ b/methods/Method_D.cpp @@ -497,9 +497,13 @@ void Method_D::OutputVoroGraph(const string & frameId, std::vector<std::pair<po if(_plotVoronoiCellData) { string parameters_rho="python "+_scriptsLocation+"/_Plot_cell_rho.py -f \""+ voronoiLocation + "\" -n "+ _trajName+"_id_"+_measureAreaId+"_"+frameId+ - " -g "+_geometryFileName+" -p "+_trajectoryPath + " -i"; + " -g "+_geometryFileName+" -p "+_trajectoryPath; string parameters_v="python "+_scriptsLocation+"/_Plot_cell_v.py -f \""+ voronoiLocation + "\" -n "+ _trajName+"_id_"+_measureAreaId+"_"+frameId+ " -g "+_geometryFileName+" -p "+_trajectoryPath; + + if(_plotVoronoiIndex) + parameters_rho += " -i"; + Log->Write("INFO:\t%s",parameters_rho.c_str()); Log->Write("INFO:\tPlotting Voronoi Cell at the frame <%s>",frameId.c_str()); system(parameters_rho.c_str()); -- GitLab