KkrOutputReader
- class ase2sprkkr.outputs.task_result.KkrOutputReader(input_parameters, calculator, directory, print_output=False, read_callback=None)[source]
Class, that runs a process and reads its output using the underlying output parser (see
ase2sprkkr.common.process_output_reader.ProcessOutputParser) and return the appropriate TaskResult.Descendants should define parser_class and result_class property.
Class hierarchy

Constructor
- input_parameters
Input parameters, that command to read the output (thus probably the ones, that run the process that produced the output. It is used e.g. for determining the potential file, which belongs to the output.
- directory
Calculator, that can be used for further processing of the results.
- _create_result(output_file, input_file=None)[source]
Create an object that stores results of the KKR output parsing.
- _create_process(coroutine, result, callback=None)[source]
Create an object that can run the desired process (either reading from file or running a process)
- Returns:
An object that can run the process and return the result.
- Return type:
- create_process(cmd, outfile, input_file=None, callback=None, **kwargs)[source]
Create an object that takes care of running the command and parsing the results