nextflow.models

class nextflow.models.Execution(identifier: str, stdout: str, stderr: str, return_code: str, started: datetime, finished: datetime, command: str, log: str, path: str, process_executions: list)

A class to represent the execution of a Nextflow pipeline.

property duration

The duration of the execution, in seconds.

Return type:

datetime.timedelta

property status

A string representing the status of the execution.

Return type:

str

class nextflow.models.ProcessExecution(identifier: str, name: str, process: str, path: str, stdout: str, stderr: str, return_code: str, bash: str, started: datetime, finished: datetime, status: str)

A class to represent the execution of a single Nextflow process.

all_output_data(include_path=True)

A list of all output data produced by the process execution, including unpublished staging files.

Parameters:

include_path (bool) – if False, only filenames returned.

Type:

list

property duration

The duration of the process execution, in seconds.

Return type:

datetime.timedelta

property full_path

The full absolute path to the process execution.

Return type:

pathlib.Path

input_data(include_path=True)

A list of files passed to the process execution as inputs.

Parameters:

include_path (bool) – if False, only filenames returned.

Type:

list