exa.core.sequence.wrap_analyze.wrap_sequence_analyze

exa.core.sequence.wrap_analyze.wrap_sequence_analyze#

wrap_sequence_analyze(sequence_execute_result, **kwargs)#

Wraps SequenceExecuteResult.analyze() by recording any caught exception detail into the result.

In the event of an exception, the real analysis is skipped and the latest sequence execution results are merely conveyed to the returned analyze result in order to have the data available. Additionally, the full exception traceback is stored in the result.

Parameters:
  • sequence_execute_result (SequenceExecuteResult) – the sequence_execute_result instance to call .analyze on.

  • kwargs – keyword arguments to pass to .analyze.

Returns:

An instance of sequence.result.SequenceAnalyzeResult. Any error detail is recorded to the returned instance.

Return type:

SequenceAnalyzeResult