Skip to content

Commit 1a0cdc4

Browse files
committed
only use unique stops in times_gtfs_to_gtfs
1 parent 0ce8eb4 commit 1a0cdc4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: m4ra
22
Title: Many-to-Many Multi-Modal Routing Aggregator
3-
Version: 0.1.1.053
3+
Version: 0.1.1.054
44
Authors@R:
55
person(given = "Mark",
66
family = "Padgham",

R/prepare-data.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ times_gtfs_to_gtfs_batch <- function (gtfs,
334334
fname_gtfs_intervals,
335335
quiet) {
336336

337-
stops <- gtfs$stops$stop_id
337+
stops <- unique (gtfs$stops$stop_id)
338338
nstops <- length (stops) # used only in progress bar
339339
index <- rep (
340340
seq (1L, ceiling (length (stops) / batch_size)),

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"codeRepository": "https://github.com/UrbanAnalyst/m4ra",
88
"issueTracker": "https://github.com/UrbanAnalyst/m4ra/issues",
99
"license": "https://spdx.org/licenses/GPL-3.0",
10-
"version": "0.1.1.053",
10+
"version": "0.1.1.054",
1111
"programmingLanguage": {
1212
"@type": "ComputerLanguage",
1313
"name": "R",

0 commit comments

Comments
 (0)