Skip to content

Commit

Permalink
skyalps gtfs fix bug where no header was written for stop times
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Aug 22, 2024
1 parent 34ffcb4 commit 009e52b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private static void writeCsv(String file, List<String[]> csv) throws Exception {

public static void writeStop_Times(List<Stop_TimesValues> stopTimesValues) throws Exception {
var csv = newCsv();
addRow(newCsv(), "trip_id", "arrival_time", "departure_time", "stop_id", "stop_sequence", "timepoint", "shape_dist_traveled");
addRow(csv, "trip_id", "arrival_time", "departure_time", "stop_id", "stop_sequence", "timepoint", "shape_dist_traveled");
for (var stoptimesvalues : stopTimesValues) {
addRow(csv,
stoptimesvalues.trip_id(),
Expand Down

0 comments on commit 009e52b

Please sign in to comment.