From d70193d9504a583f180b0c9c9178fa2f3210a2dd Mon Sep 17 00:00:00 2001 From: rakow Date: Tue, 21 May 2024 17:49:37 +0200 Subject: [PATCH] update filtering of invalid entries --- matsim/scenariogen/data/formats/mid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matsim/scenariogen/data/formats/mid.py b/matsim/scenariogen/data/formats/mid.py index 1683409..3b1177d 100644 --- a/matsim/scenariogen/data/formats/mid.py +++ b/matsim/scenariogen/data/formats/mid.py @@ -104,7 +104,7 @@ def convert(data: tuple, regio=None): get(t, "W_GEW", "gew_wege"), p_id, get(t, "H_ID"), n, int(t.ST_WOTAG), depature, int(t.wegmin), float(t.wegkm), Mid2017.main_mode(t), Mid2017.purpose(t), None, - float(t.wegkm) < 1000 and int(t.wegmin) < 1000 and depature is not None + float(t.wegkm) < 9994 and int(t.wegmin) < 9994 and depature is not None ) if trip.purpose == Purpose.WAYBACK: