Skip to content

Commit

Permalink
Merge pull request #24 from TransitApp/jsteelz/ignore-flex-routes
Browse files Browse the repository at this point in the history
Do not run b2t on flex trips
  • Loading branch information
Sara-transit authored Oct 2, 2024
2 parents 561ccb5 + 4ad0dc5 commit 67e2acb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blocks_to_transfers/convert_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def group_trips(gtfs):

for trip in sorted(gtfs.trips.values(),
key=lambda trip: trip.first_departure):
if not trip.block_id:
if (not trip.block_id) or (trip.stop_shape is None):
continue

if len(gtfs.stop_times.get(trip.trip_id, [])) < 2:
Expand Down
2 changes: 1 addition & 1 deletion dependency_info.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
py_gtfs_loader = '0.1.12'
py_gtfs_loader = '0.1.15'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import dependency_info

setup(name='GTFS-blocks-to-transfers',
version='1.7.0',
version='1.7.1',
description='Convert GTFS blocks to trip-to-trip transfers',
url='https://github.com/TransitApp/GTFS-blocks-to-transfers',
author='Nicholas Paun',
Expand Down

0 comments on commit 67e2acb

Please sign in to comment.