Tools and Workflows¶
Manage creation of tools and workflows for workflow tracking.
Command-line tool¶
Represent a CommandLineToolFactory
for tracking workflows.
-
class
renku.core.models.cwl.command_line_tool.
CommandLineToolFactory
(command_line, explicit_inputs=NOTHING, explicit_outputs=NOTHING, no_input_detection=False, no_output_detection=False, directory='.', working_dir='.', stdin=None, stderr=None, stdout=None, successCodes=NOTHING, annotations=None, messages=None, warnings=None)[source]¶ Command Line Tool Factory.
Annotation¶
Represent an annotation for a workflow.
Parameter¶
Represent parameters from the Common Workflow Language.
-
class
renku.core.models.cwl.parameter.
CommandInputParameter
(id=None, streamable=None, type='string', description=None, default=None, inputBinding=None)[source]¶ An input parameter for a CommandLineTool.
-
class
renku.core.models.cwl.parameter.
CommandLineBinding
(position=None, prefix=None, separate: bool = True, itemSeparator=None, valueFrom=None, shellQuote: bool = True)[source]¶ Define the binding behavior when building the command line.
-
class
renku.core.models.cwl.parameter.
CommandOutputBinding
(glob=None)[source]¶ Define the binding behavior for outputs.
-
class
renku.core.models.cwl.parameter.
CommandOutputParameter
(id=None, streamable=None, type='string', description=None, format=None, outputBinding=None)[source]¶ Define an output parameter for a CommandLineTool.
-
class
renku.core.models.cwl.parameter.
InputParameter
(id=None, streamable=None, type='string', description=None, default=None, inputBinding=None)[source]¶ An input parameter.
-
class
renku.core.models.cwl.parameter.
OutputParameter
(id=None, streamable=None, type='string', description=None, format=None, outputBinding=None)[source]¶ An output parameter.
-
class
renku.core.models.cwl.parameter.
Parameter
(streamable=None)[source]¶ Define an input or output parameter to a process.
Types¶
Represent the Common Workflow Language types.
-
class
renku.core.models.cwl.types.
Directory
(path=None, listing=NOTHING)[source]¶ Represent a directory.
Workflow¶
Represent workflows from the Common Workflow Language.
-
class
renku.core.models.cwl.workflow.
Workflow
(steps=NOTHING)[source]¶ Define a workflow representation.