Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hodge committed Jan 24, 2019
1 parent 4b35133 commit b6eef6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions propeR/R/isochrone-multi.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ isochroneMulti <- function(output.dir,
if ("try-error" %in% class(t)) {
originPoints_removed <- c(originPoints_removed, originPoints$name[num.run])
originPoints_removed_list <- c(originPoints_removed_list, num.run)
end.time <- Sys.time()
time.taken[num.run] <- round(end.time - start.time, digits = 2)
message("Removed ", originPoints$name[num.run], " from analysis as no polygon could be generated from it.")
next
Expand Down Expand Up @@ -185,6 +186,7 @@ isochroneMulti <- function(output.dir,
if ("try-error" %in% class(t)) {
originPoints_removed <- c(originPoints_removed, originPoints$name[num.run])
originPoints_removed_list <- c(originPoints_removed_list, num.run)
end.time <- Sys.time()
time.taken[num.run] <- round(end.time - start.time, digits = 2)
message("Removed ", originPoints$name[num.run], " from analysis as no polygon could be generated from it.")
next
Expand Down

0 comments on commit b6eef6b

Please sign in to comment.