is_workflow: Is this a CWL workflow?

View source: R/utils.R

is_workflowR Documentation

Is this a CWL workflow?

Description

Is this a CWL workflow?

Usage

is_workflow(x)

Arguments

x

CWL object

Value

Logical. TRUE if it is a CWL workflow (instead of a command line tool), FALSE if not.

Examples

system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>%
  read_cwl(format = "json") %>%
  is_workflow()

system.file("cwl/sbg/tool/bwa-mem.json", package = "tidycwl") %>%
  read_cwl(format = "json") %>%
  is_workflow()

tidycwl documentation built on May 3, 2022, 9:07 a.m.