code: def parse_relative_path(root_path, experiment_config, key):
      """Change relative path to absolute path"""
      if experiment_config.get(key) and not os.path.isabs(
          experiment_config.get(key)
      ):
          absolute_path = os.path.join(
              root_path, experiment_config.get(key)
          )
          print_normal(
              "expand %s: %s to %s "
              % (key, experiment_config[key], absolute_path)
          )
          experiment_config[key] = absolute_path
  
file_path: nni/nni/tools/nnictl/launcher_utils.py
imports: import os
  from schema import SchemaError
  from .config_schema import NNIConfigSchema
  from .common_utils import print_normal
label_desc: Use image node_id 2 for calling a global function with example usage: parse_relative_path(root_path, experiment_config, key) without return types