Skip to content

Conversation

@jsteelz
Copy link
Member

@jsteelz jsteelz commented Nov 5, 2025

No description provided.

from ..gofs_data import GofsTransfer
from gtfs_loader.schema import PickupType, DropOffType

from gtfs_flex_to_gofs.utils import get_locations_group, get_zones
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused

print(f"WARNING : Trip {trip.trip_id} is not a normal gtfs trip, not microtransit and not deviated service only. We are not supproting this yet, it will be removed from the GTFS and not shown anywhere")

if type_of_trip == operation_rules.TripType.OTHER or type_of_trip == operation_rules.TripType.PURE_MICROTRANSIT:
del gtfs.trips[trip.trip_id]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

raises runtime error, deletion during iteration

@jsteelz jsteelz marked this pull request as ready for review November 5, 2025 17:58
@jsteelz jsteelz requested a review from gcamp November 5, 2025 18:27
@jsteelz jsteelz merged commit 1f5d9d6 into main Nov 10, 2025
1 check passed
@jsteelz jsteelz deleted the jsteelz/fix-patch-gtfs branch November 10, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants