Get revision number for steps

get_steps_revision(steps)

Arguments

steps

Steps object parsed by parse_steps

Value

Vector of step revision numbers

Examples

# 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