Get class from CWL JSON file
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)
#> [1] "CommandLineTool"
is_commandlinetool(tool.in)
#> [1] TRUE
is_workflow(tool.in)
#> [1] FALSE
get_cwl_class(flow.in)
#> [1] "Workflow"
is_commandlinetool(flow.in)
#> [1] FALSE
is_workflow(flow.in)
#> [1] TRUE