Bondify / gtfs_functions

Package with useful functions to create geo-spatial visualizations from a GTFS.
MIT License
114 stars 30 forks source link

IndexError when use gtfs.line_freq #12

Closed claudiotomasi closed 9 months ago

claudiotomasi commented 2 years ago

When I try

line_freq = gtfs.lines_freq(stop_times, trips, shapes, routes, cutoffs = cutoffs)

I get the following error IndexError: index 0 is out of bounds for axis 0 with size 0

This happens also with gtfs.cut_gtfs(stop_times, stops, shapes) And with or without the cutoffs variable in input I tried it with different gtfs files, but the result is always the same

Bondify commented 1 year ago

please check if the error persists with the latest version of the package @cla93