workflow_options: Pull the workflow options provided for a Cromwell workflow...

View source: R/cromUtils.R

workflow_optionsR Documentation

Pull the workflow options provided for a Cromwell workflow job

Description

Pull the workflow options provided for a Cromwell workflow job

Usage

workflow_options(workflow_id, url = cw_url(), token = NULL)

Arguments

workflow_id

(character) A single workflow ID

url

(character) base url for your Cromwell server. optional. if not supplied set the url as the env var CROMWELLURL

token

(character) we do not recommend passing your token here as a string. Either pass it using Sys.getenv() or save your token as the env var PROOF_TOKEN and then passing nothing to this param and we'll find it

Value

a tibble of the options for a workflow previously run:

  • read_from_cache

  • workflow_failure_mode

  • write_to_cache

Important

Requires valid Cromwell server URL to be set. See cromwell_settings

Author(s)

Amy Paguirigan, Scott Chamberlain

Examples

## Not run: 
jobs <- cromwell_jobs()
workflow_options(jobs$workflow_id[1])

## End(Not run)

FredHutch/fh.wdlR documentation built on March 26, 2024, 8:40 p.m.