Skip to contents

Retrieves all user bundled Submissions and SubmissionStatuses for a specified Evaluation.

Usage

synGetUserSubmissionBundles(cls, evaluation_id, synapse_client=NULL)

Arguments

cls

(SubmissionBundle) The SubmissionBundle class (or an existing SubmissionBundle instance) to dispatch this call to.

evaluation_id

(character) The ID of the specified Evaluation.

synapse_client

(Optional[Synapse]) If not passed in, the last created instance from the Synapse class constructor will be used.

Value

A GeneratorWrapper object that yields SubmissionBundle objects as they are retrieved from the API. Use as.list() to materialize all results into a list, or nextElem() to retrieve one SubmissionBundle at a time.

Examples

if (FALSE) { # \dontrun{
## Getting user submission bundles
    library(synapser)
    synLogin()

    bundles = as.list(SubmissionBundle() |> synGetUserSubmissionBundles(
        evaluation_id = "9999999"
    ))
    print(sprintf("Found %d user submission bundles", length(bundles)))
    for (bundle in bundles) {
        print(sprintf("Submission ID: %s", bundle$submission$id))
    }
} # }