reV.utilities.cli_functions.parse_from_pipeline
- parse_from_pipeline(config, out_dir, config_key, target_modules)[source]
 Parse the out file from target modules and set as the values for key.
This function only updates the
config_keyinput if it is set to"PIPELINE".- Parameters:
 config (dict) – Configuration dictionary. The
config_keywill be updated in this dictionary if it is set to"PIPELINE".out_dir (str) – Path to pipeline project directory where config and status files are located. The status file is expected to be in this directory.
config_key (str) – Key in config files to replace with
"out_file"value(s) from previous pipeline step.target_modules (list of str | list of ModuleName) – List of (previous) target modules to parse for the
config_key.
- Returns:
 dict – Input config dictionary with updated
config_keyinput.- Raises:
 PipelineError – If
"out_file"not found in previous target module status files.