From f6f01494c6aeed4dd85e772637864d610b75ecb3 Mon Sep 17 00:00:00 2001
From: Gregor Jaeger <g.jaeger@fz-juelich.de>
Date: Sun, 2 Jun 2019 12:14:10 +0000
Subject: [PATCH] set projectRootDir to canonical form

Note: This used to work before, but now not anymore.
Please check if still working
---
 methods/Method_I.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/methods/Method_I.cpp b/methods/Method_I.cpp
index ff96188f..b2a1f4a7 100644
--- a/methods/Method_I.cpp
+++ b/methods/Method_I.cpp
@@ -138,6 +138,11 @@ bool Method_I::Process(const PedData& peddata,const fs::path& scriptsLocation, c
           vector<double> YInFrame = peddata.GetYInFrame(frameNr, ids, zPos_measureArea);
           vector<double> ZInFrame = peddata.GetZInFrame(frameNr, ids, zPos_measureArea);
           vector<double> VInFrame = peddata.GetVInFrame(frameNr, ids, zPos_measureArea);
+          if(XInFrame.size() == 0)
+          {
+               Log->Write("Warning:\t no pedestrians in frame <%d>", frameNr);
+               continue;
+          }
           //vector int to_remove
           //------------------------------Remove peds outside geometry------------------------------------------
           for( int i=0;i<(int)IdInFrame.size();i++)
-- 
GitLab