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

fix bug in parameters passed to plot script

parent b299465a
No related branches found
No related tags found
2 merge requests!9Develop in Master,!5Issue 77
...@@ -497,9 +497,13 @@ void Method_D::OutputVoroGraph(const string & frameId, std::vector<std::pair<po ...@@ -497,9 +497,13 @@ void Method_D::OutputVoroGraph(const string & frameId, std::vector<std::pair<po
if(_plotVoronoiCellData) if(_plotVoronoiCellData)
{ {
string parameters_rho="python "+_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 + " -i"; " -g "+_geometryFileName+" -p "+_trajectoryPath;
string parameters_v="python "+_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;
if(_plotVoronoiIndex)
parameters_rho += " -i";
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());
system(parameters_rho.c_str()); system(parameters_rho.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment