Processes

class pipeliner.process.Process(name: str, p_type: str, status: str, alias: str | None = None)

Bases: object

A Process represents a job that has been run by the Pipeliner

name

The name of the process. It should be in the format “<jobtype>/jobxxx/”. The trailing slash is required

Type:

str

alias

An alternate name for the process to make it easier to identify

Type:

str

outdir

The directory the process was written into

Type:

str

type

The process’s type

Type:

str

status

The process’s status. One of ‘running, scheduled, successful, failed, or aborted’

Type:

str

input_nodes

Node objects for files the process use as inputs

Type:

list

output_nodes

Node objects for files the process produces

Type:

list

remove_nonexistent_nodes() List[str]

Checks the files for the output nodes of the process actually exist

Removes them from the output node list if the files are not found

Returns:

The names of the removed nodes

Return type:

List[str]