CRT Log

class crt_runner.crt_log.CRTLog(log_file_handle, institute='Atlanta', config=None)

Identify components of CRT run based on log results

__init__(log_file_handle, institute='Atlanta', config=None)
Parameters:log_file_handle (file_like) – File hindle for the log
send_warnings_message()

Send message based on warnings in the log

Note

Only sends message when there is at least one warning to send.

Note

Expects there to be a crt_warning message in config

Note

Expects the body of the message to have the text WARNINGS_LIST

successfully_completed

True if the log file indicates that the run completed successfully

warnings_in_log()

List all warnings present in log

Returns:list of strings of user friendly warnings

Note

source of warnings is from the config object

Previous topic

Perl Execution

Next topic

Messenger

This Page