Skip to content

Commit

Permalink
fix mid compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Jul 2, 2024
1 parent 2164349 commit 99d0dac
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 @@ -101,7 +101,7 @@ def convert(data: tuple, regio=None):

trip = Trip(
t_id + "_" + str(n),
get(t, "W_GEW", "gew_wege"), p_id, get(t, "H_ID"),
get(t, "W_GEW", "gew_wege"), p_id, str(get_int_id(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) < 9994 and int(t.wegmin) < 9994 and depature is not None
Expand Down

0 comments on commit 99d0dac

Please sign in to comment.