nextflow.log

nextflow.log.get_datetime_from_line(line)

Gets the datetime from a line of the log file.

Parameters:

line (str) – a line from the log file.

Return type:

datetime.datetime

nextflow.log.get_finished_from_log(log)

Gets the time the pipeline ended from the log file.

Parameters:

log (str) – the contents of the log file.

Return type:

datetime.datetime

nextflow.log.get_identifier_from_log(log)

Gets the nextflow adjective_name identifier from the log file.

Parameters:

log (str) – the contents of the log file.

Return type:

str

nextflow.log.get_started_from_log(log)

Gets the time the pipeline was started from the log file.

Parameters:

log (str) – the contents of the log file.

Return type:

datetime.datetime

nextflow.log.log_is_finished(log)

Checks if the log file indicates the pipeline has finished.

Parameters:

log (str) – the contents of the log file.

Return type:

bool

nextflow.log.parse_completed_line(line)

Parses a line from the log file that indicates a process has completed, to get its xx/yyyyyy identifier, finish time, return code, and status.

Parameters:

line (str) – a line from the log file.

Return type:

tuple

nextflow.log.parse_submitted_line(line)

Parses a line from the log file that indicates a process has been submitted, to get its xx/yyyyyy identifier, name, process, and submission time.

Parameters:

line (str) – a line from the log file.

Return type:

tuple