get_cwl_class {sevenbridges} | R Documentation

## Get class from CWL JSON file

### Description

Get class from CWL JSON file

### Usage

    get_cwl_class(input)

### Arguments

`input` | cwl json file path

### Value

character for cwl class "Workflow" or "CommandLineTool"

### Examples

    tool.in <- system.file("extdata/app", "tool_unpack_fastq.json", package = "sevenbridges")
    flow.in <- system.file("extdata/app", "flow_star.json", package = "sevenbridges")
    get_cwl_class(tool.in)
    is_commandlinetool(tool.in)
    is_workflow(tool.in)
    get_cwl_class(flow.in)
    is_commandlinetool(flow.in)
    is_workflow(flow.in)

[Package sevenbridges version 1.24.0 Index]