code: def digit_version(version_str):
      digit_version = []
      for x in version_str.split("."):
          if x.isdigit():
              digit_version.append(int(x))
          elif x.find("rc") != -1:
              patch_version = x.split("rc")
              digit_version.append(int(patch_version[0]) - 1)
              digit_version.append(int(patch_version[1]))
      return digit_version
  
label_desc: Use image node_id 1 for calling a global function with example usage: digit_version(version_str) and returns: digit_version