get_workflow_root: Get the Root Directory of a Workflow

View source: R/workflow.R

get_workflow_rootR Documentation

Get the Root Directory of a Workflow

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

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


EpiModel/slurmworkflow documentation built on Nov. 8, 2023, 1:23 a.m.