Get CWL version
get_cwl_version(x)
| x | CWL object |
|---|
CWL version number
system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>% read_cwl_json() %>% get_cwl_version()#> [1] "sbg:draft-2"system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>% read_cwl_json() %>% get_cwl_version()#> [1] "v1.0"