Skip to content

Commit

Permalink
remove default model in bus driver generation
Browse files Browse the repository at this point in the history
  • Loading branch information
chenchenplus committed Nov 4, 2024
1 parent 957ce61 commit 2489037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions mosstool/trip/generator/_util/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def _aoi_road_ids(station_connection_road_ids) -> List[int]:
p_trip_stops = []
# bus attribute
p_bus_attr = BusAttribute(
subline_id=sl_id, capacity=sl_capacity, type=bus_type, model=""
subline_id=sl_id, capacity=sl_capacity, type=bus_type,
)
for (d_lane_id, d_s), aoi_id in zip(trip_stop_lane_id_s, trip_stop_aoi_ids):
trip_stop = TripStop()
Expand All @@ -356,8 +356,6 @@ def _aoi_road_ids(station_connection_road_ids) -> List[int]:
CAR,
),
end=Position(aoi_position=AoiPosition(aoi_id=end_aoi_id)),
activity="",
model="",
trip_stops=p_trip_stops,
routes=[
Journey(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mosstool"
version = "1.0.17"
version = "1.0.18"
description = "MObility Simulation System toolbox "
authors = ["Jun Zhang <[email protected]>","Junbo Yan <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 2489037

Please sign in to comment.