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 a list of input files from a step.
Get a list of output files from a step.
get_output_path
(outdir, infile)Get the output path for the step.
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 an input file from the filemap.
Attributes
Get the kind of step.