expand_io_paths

expand_io_paths(config: Config, input_var_name: str, output_var_name: str) Tuple[Path, Path][source]

Expand relative io paths with base_path from config.

Parameters:
  • config (Config) – Config instance, needed to determine the base path.

  • input_var_name (str) – Name of the variable holding the input path string.

  • output_var_name (str) – Name of the variable holding the input path string.

Returns:

Expanded input path and expanded output path.

Return type:

Tuple[Path, Path]

Raises:

QtDevHelperConfigError – If any of the io paths is None.