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

Mapping of job results #248

Merged
merged 1 commit into from
Apr 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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