selene_sim.result_handling.parse_shot¶
- selene_sim.result_handling.parse_shot(parser: ResultStream, event_hook: EventHook, parse_results: bool, stdout_file: Path, stderr_file: Path) Iterator[tuple[str, int | float | bool | list[int | float | bool]]] ¶
Filters the results stream for tagged results within one shot, yielding them them one by one.
If parse_results is True, the results are parsed through parse_record. Otherwise, the results are parsed through parse_record_minimal, which only processes structural entries such as exits and shot boundaries.