Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Mapping of job results (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
brnleehng authored Apr 13, 2018
1 parent 852dba0 commit a05f7a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/jobUtilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ getJobResult <- function(jobId) {

results <- rAzureBatch::downloadBlob(
jobId,
"result/merge-result.rds",
"results/merge-result.rds",
downloadPath = tempFile,
overwrite = TRUE
)
Expand Down Expand Up @@ -273,7 +273,7 @@ getJobResult <- function(jobId) {
# Download the blob to the temporary file
rAzureBatch::downloadBlob(
containerName = job$jobId,
blobName = paste0("result/", i, "-result.rds"),
blobName = paste0("results/", i, "-result.rds"),
downloadPath = tempFile,
overwrite = TRUE
)
Expand Down Expand Up @@ -304,7 +304,7 @@ getJobResult <- function(jobId) {
error = function(e) {
warning(sprintf(
"error downloading task result %s from blob, retrying...\r\n%s",
paste0(job$jobId, "result/", i, "-result.rds"),
paste0(job$jobId, "results/", i, "-result.rds"),
e
))
})
Expand Down

0 comments on commit a05f7a0

Please sign in to comment.