diff --git a/apps/state/config/config.exs b/apps/state/config/config.exs index efbc765a5..4db73893c 100644 --- a/apps/state/config/config.exs +++ b/apps/state/config/config.exs @@ -367,25 +367,26 @@ config :state, :stops_on_route, "place-qnctr", "place-jfk" ] - ], - {"CR-Haverhill", 0} => [ - [ - "place-north", - "place-ogmnl", - "place-WR-0062", - "place-WR-0067", - "place-WR-0075", - "place-WR-0085", - "place-WR-0099", - "place-NHRML-0127", - "place-WR-0120", - "place-WR-0205", - "place-WR-0228", - "place-WR-0264", - "place-WR-0325", - "place-WR-0329" - ] ] + # , + # {"CR-Haverhill", 0} => [ + # [ + # "place-north", + # "place-ogmnl", + # "place-WR-0062", + # "place-WR-0067", + # "place-WR-0075", + # "place-WR-0085", + # "place-WR-0099", + # "place-NHRML-0127", + # "place-WR-0120", + # "place-WR-0205", + # "place-WR-0228", + # "place-WR-0264", + # "place-WR-0325", + # "place-WR-0329" + # ] + # ] } # Stops that should never be considered to be "on" a given route diff --git a/apps/state/lib/state/stops_on_route.ex b/apps/state/lib/state/stops_on_route.ex index f1c1c55ac..64effe95f 100644 --- a/apps/state/lib/state/stops_on_route.ex +++ b/apps/state/lib/state/stops_on_route.ex @@ -198,6 +198,27 @@ defmodule State.StopsOnRoute do ["Boat-Aquarium", "Boat-Fan", "Boat-Logan", "Boat-Quincy", "Boat-Winthrop"]} ] + defp gather_explicit_overrides(%{id: "CR-Haverhill"}, 0), + do: [ + {"CR-Haverhill", 0, :all, "SPR23-N-Wdy-37", true, + [ + "place-north", + "place-ogmnl", + "place-WR-0062", + "place-WR-0067", + "place-WR-0075", + "place-WR-0085", + "place-WR-0099", + "place-NHRML-0127", + "place-WR-0120", + "place-WR-0205", + "place-WR-0228", + "place-WR-0264", + "place-WR-0325", + "place-WR-0329" + ]} + ] + defp gather_explicit_overrides(_, _), do: [] defp do_gather_direction_group(route, global_order, {group_key, trip_group}) do