Get revision number for steps
get_steps_revision(steps)
Steps object parsed by parse_steps
Vector of step revision numbers
# steps represented by a dictionary
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
read_cwl_json() %>%
parse_steps() %>%
get_steps_revision()
#> [1] 11 11 1 12 11
# steps represented by a list
system.file("cwl/sbg/workflow/rnaseq-salmon.cwl", package = "tidycwl") %>%
read_cwl_yaml() %>%
parse_steps() %>%
get_steps_revision()
#> [1] 11 11 1 12 11