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.
Method generated by attrs for class CommandLineToolFactory.
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.
Method generated by attrs for class CommandInputParameter.
-
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.
Method generated by attrs for class CommandLineBinding.
-
class
renku.core.models.cwl.parameter.
CommandOutputBinding
(glob=None)[source]¶ Define the binding behavior for outputs.
Method generated by attrs for class CommandOutputBinding.
-
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.
Method generated by attrs for class CommandOutputParameter.
-
class
renku.core.models.cwl.parameter.
InputParameter
(id=None, streamable=None, type='string', description=None, default=None, inputBinding=None)[source]¶ An input parameter.
Method generated by attrs for class InputParameter.
-
class
renku.core.models.cwl.parameter.
OutputParameter
(id=None, streamable=None, type='string', description=None, format=None, outputBinding=None)[source]¶ An output parameter.
Method generated by attrs for class OutputParameter.
-
class
renku.core.models.cwl.parameter.
Parameter
(streamable=None)[source]¶ Define an input or output parameter to a process.
Method generated by attrs for class Parameter.
Types¶
Represent the Common Workflow Language types.
-
class
renku.core.models.cwl.types.
Directory
(path=None, listing=NOTHING)[source]¶ Represent a directory.
Method generated by attrs for class Directory.
-
class
renku.core.models.cwl.types.
Dirent
(entryname=None, entry=None, writable=False)[source]¶ Define a file or subdirectory.
Method generated by attrs for class Dirent.
Workflow¶
Represent workflows from the Common Workflow Language.
-
class
renku.core.models.cwl.workflow.
Workflow
(steps=NOTHING)[source]¶ Define a workflow representation.
Method generated by attrs for class Workflow.