Skip to contents

Gets a collection of SubmissionStatuses to a specified Evaluation.

Usage

synGetAllSubmissionStatuses(evaluation_id, status=NULL, limit=10L, offset=0L, synapse_client=NULL)

Arguments

evaluation_id

(character) The ID of the specified Evaluation.

status

(Optional[character]) Optionally filter submission statuses by status.

limit

(integer) Limits the number of entities that will be fetched for this page. When NULL it will default to 10, max value 100. Defaults to 10.

offset

(integer) The offset index determines where this page will start from. An index of 0 is the first entity. Defaults to 0.

synapse_client

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

Value

A list of SubmissionStatus objects for the evaluation queue.

Examples

if (FALSE) { # \dontrun{
## Getting all submission statuses for an evaluation
    # Retrieve a list of submission statuses for a specific evaluation, optionally filtered by status.
    library(synapser)
    synLogin()

    statuses = synGetAllSubmissionStatuses(
        evaluation_id = "9999999",
        status = "SCORED",
        limit = 50L
    )
    print(sprintf("Found %d submission statuses", length(statuses)))
    for (status in statuses) {
        print(sprintf("Status ID: %s, Status: %s", status$id, status$status))
    }
} # }