Learn R Programming

sevenbridges (version 1.2.4)

get_cwl_class: 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

Run this code
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)

Run the code above in your browser using DataLab