Is this CWL v1.0?
is_v1.0(x)
CWL object
Logical. TRUE
if it is a CWL v1.0 object, FALSE
if not.
system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>%
read_cwl(format = "json") %>%
is_v1.0()
#> [1] FALSE
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
read_cwl(format = "json") %>%
is_v1.0()
#> [1] TRUE