edges_analysis._workflow.WorkflowStep

class edges_analysis._workflow.WorkflowStep(function, name=_Nothing.NOTHING, params: frozendict = _Nothing.NOTHING, filemap: Iterable[FileMapEntry | dict | Tuple[Iterable[str | Path], Iterable[str | Path]]] = _Nothing.NOTHING, write: str | None = None)[source]

A single step in a workflow.

Methods

__init__(function[, name, params, filemap, ...])

Method generated by attrs for class WorkflowStep.

add_to_filemap(maps)

Add to the filemap.

asdict([files])

Get the step as a dictionary.

compat(other)

Check if two steps are compatible.

get_all_inputs()

Get a list of input files from a step.

get_all_outputs()

Get a list of output files from a step.

get_output_path(outdir, infile)

Get the output path for the step.

get_outputs_for_input(fl)

Get the outputs for a given input file.

has_input(fl)

Check if the step has a given input file.

has_output(fl)

Check if the step has a given output file.

remove_from_filemap(fl)

Remove an input file from the filemap.

Attributes

function

name

params

filemap

write

kind

Get the kind of step.