get_workflow_root: Get the root directory of a workflow

Description Usage Arguments Value

View source: R/workflow.R

Description

This function will get the path to the root directory of a workflow. Either a local workflow or during the execution of a workflow on an HPC

Usage

1
get_workflow_root(wf_summary = NULL)

Arguments

wf_summary

The workflow summary returned after it's creation or obtained with swf_load_workflow. If not provided, the function assumes that the workflow is running on an HPC and pulls the value using environment variables.

Value

The path to the workflow root directory


AdrienLeGuillou/slurmworkflow documentation built on Jan. 13, 2022, 5:13 p.m.