cwltool.workflow

Module Contents

Classes

Workflow

Base class for get_requirement().

WorkflowStep

Base class for get_requirement().

Functions

default_make_tool(toolpath_object, loadingContext)

used_by_step(step, shortinputid)

Attributes

default_make_tool(toolpath_object, loadingContext)

cwltool.workflow.default_make_tool(toolpath_object, loadingContext)
Parameters
Return type

cwltool.process.Process

cwltool.workflow.default_make_tool
Parameters
Return type

cwltool.process.Process

class cwltool.workflow.Workflow(toolpath_object, loadingContext)

Bases: cwltool.process.Process

Inheritance diagram of cwltool.workflow.Workflow

Base class for get_requirement().

Parameters
make_workflow_step(self, toolpath_object, pos, loadingContext, parentworkflowProv=None)
Parameters
Return type

WorkflowStep

job(self, job_order, output_callbacks, runtimeContext)
Parameters
  • job_order (cwltool.utils.CWLObjectType) –

  • output_callbacks (Optional[cwltool.utils.OutputCallbackType]) –

  • runtimeContext (cwltool.context.RuntimeContext) –

Return type

cwltool.utils.JobsGeneratorType

visit(self, op)
Parameters

op (Callable[[ruamel.yaml.comments.CommentedMap], None]) –

Return type

None

cwltool.workflow.used_by_step(step, shortinputid)
Parameters
  • step (cwltool.utils.StepType) –

  • shortinputid (str) –

Return type

bool

class cwltool.workflow.WorkflowStep(toolpath_object, pos, loadingContext, parentworkflowProv=None)

Bases: cwltool.process.Process

Inheritance diagram of cwltool.workflow.WorkflowStep

Base class for get_requirement().

Parameters
receive_output(self, output_callback, jobout, processStatus)
Parameters
  • output_callback (cwltool.utils.OutputCallbackType) –

  • jobout (cwltool.utils.CWLObjectType) –

  • processStatus (str) –

Return type

None

job(self, job_order, output_callbacks, runtimeContext)

Initialize sub-workflow as a step in the parent profile.

Parameters
  • job_order (cwltool.utils.CWLObjectType) –

  • output_callbacks (Optional[cwltool.utils.OutputCallbackType]) –

  • runtimeContext (cwltool.context.RuntimeContext) –

Return type

cwltool.utils.JobsGeneratorType

visit(self, op)
Parameters

op (Callable[[ruamel.yaml.comments.CommentedMap], None]) –

Return type

None