downloadResult: Download result of processing request

Description Usage Arguments Value

Description

downloadResult downloads the result of a processing request associated with jobId, such as from a t1Seg request.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
downloadResult(object, jobId = "character", filename = "character",
  waitForJobToFinish = TRUE)

## S4 method for signature 'MriCloudR,character,character,logical'
downloadResult(object,
  jobId = "character", filename = tempfile(fileext = ".zip"),
  waitForJobToFinish = TRUE)

## S4 method for signature 'MriCloudR,character,missing,logical'
downloadResult(object,
  jobId = "character", filename = tempfile(fileext = ".zip"),
  waitForJobToFinish = TRUE)

Arguments

object

Object of class MriCloudR-class.

jobId

The jobId of the request, obtained from a processing request such as t1Seg

filename

Output filename for result.

waitForJobToFinish

TRUE or FALSE. If TRUE, downloadResult will wait until the job is finished and then download the result (default value is TRUE). If FALSE, it will attempt to download the result but will return if the job is not completed.

Value

TRUE if download successful. FALSE otherwise


neuroconductor-releases/MriCloudR documentation built on Oct. 30, 2020, 5:46 p.m.