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_patf 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
docs: Change relative path to absolute path