cwltool.subgraph

Attributes

UP

DOWN

INPUT

OUTPUT

STEP

Functions

find_step(steps, stepid, loading_context)

Find the step (raw dictionary and WorkflowStep) for a given step id.

get_subgraph(roots, tool, loading_context)

Extract the subgraph for the given roots.

get_step(tool, step_id, loading_context)

Extract a single WorkflowStep for the given step_id.

get_process(tool, step_id, loading_context)

Find the underlying Process for a given Workflow step id.

Module Contents

cwltool.subgraph.UP = 'up'
cwltool.subgraph.DOWN = 'down'
cwltool.subgraph.INPUT = 'input'
cwltool.subgraph.OUTPUT = 'output'
cwltool.subgraph.STEP = 'step'
cwltool.subgraph.find_step(steps, stepid, loading_context)

Find the step (raw dictionary and WorkflowStep) for a given step id.

Parameters:
Return type:

tuple[Optional[cwltool.utils.CWLObjectType], Optional[cwltool.workflow.WorkflowStep]]

cwltool.subgraph.get_subgraph(roots, tool, loading_context)

Extract the subgraph for the given roots.

Parameters:
Return type:

ruamel.yaml.comments.CommentedMap

cwltool.subgraph.get_step(tool, step_id, loading_context)

Extract a single WorkflowStep for the given step_id.

Parameters:
Return type:

ruamel.yaml.comments.CommentedMap

cwltool.subgraph.get_process(tool, step_id, loading_context)

Find the underlying Process for a given Workflow step id.

Parameters:
Return type:

tuple[Any, cwltool.workflow.WorkflowStep]