Skip to content

Commit

Permalink
fix #26
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Feb 18, 2024
1 parent 9199111 commit abacb7e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: m4ra
Title: Many-to-Many Multi-Modal Routing Aggregator
Version: 0.1.1.029
Version: 0.1.1.030
Authors@R:
person(given = "Mark",
family = "Padgham",
Expand Down
2 changes: 1 addition & 1 deletion R/cache.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ cache_one_graph <- function (graph, city) {
paste0 ("-", gtag, "-"),
apath
)
fst::write_fst (graph, gpath)
fst::write_fst (graph, gpath, compress = 0)

return (c (apath, gpath))
}
Expand Down
2 changes: 1 addition & 1 deletion R/graph-contraction.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ m4ra_contract_graph <- function (graph, city) {
paste0 ("m4ra-", city, "-", wt_profile, "-edgemap-",
substring (hash, 1, 6), ".Rds")
)
fst::write_fst (edge_map, fname_e)
fst::write_fst (edge_map, fname_e, compress = 0)
}

return (graph_c)
Expand Down
3 changes: 1 addition & 2 deletions R/vertices.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#' m4ra_vertices
#'
#' Extract vertices of graph, including spatial coordinates if included.
Expand Down Expand Up @@ -45,7 +44,7 @@ m4ra_vertices <- function (graph, city) {
verts <- fst::read_fst (fpath)
} else {
verts <- dodgr_vertices_internal (graph)
fst::write_fst (verts, fpath)
fst::write_fst (verts, fpath, compress = 0)
}

return (verts)
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/UrbanAnalyst/m4ra",
"issueTracker": "https://github.com/UrbanAnalyst/m4ra/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.1.029",
"version": "0.1.1.030",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit abacb7e

Please sign in to comment.