Skip to content

Commit

Permalink
update filtering of invalid entries
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed May 21, 2024
1 parent d7e0b66 commit d70193d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matsim/scenariogen/data/formats/mid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d70193d

Please sign in to comment.