KkrOutputReader
- class ase2sprkkr.outputs.task_result.KkrOutputReader(input_parameters, calculator, directory, print_info=False, task_name=None)[source]
Parse SPR-KKR output streams into a TaskResult.
Execution is handled by
kkrunner; this class owns only task-specific parsing and result construction.Class hierarchy
Constructor
- classmethod matches_output(output)[source]
Return whether legacy output without a task marker belongs to this reader.
- async parse_streams(stdout, stderr, result)[source]
Parse simultaneously growing stdout and stderr streams.
Parser failures are returned to the execution backend rather than raised immediately. The backend must first observe the process exit status: a truncated output stream is often only a symptom of the executable having failed, and that failure is the more useful error.