_check_symmetric_io_definition

_check_symmetric_io_definition(config: Config, input_var_name: str, output_var_name: str) Config[source]

Check that input_var_name and output_var_name are both None or both not None.

Parameters:
  • config ("Config") – Instance of the Config.

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

  • output_var_name (str) – Name of the output path variable.

Returns:

Value of values

Return type:

“Config”

Raises:

AssertionError – If only one value of input_var_name and output_var_name is None.