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.
-
generate_process_run(commit, path, name=None, description=None, keywords=None)[source]¶ Return an instance of
ProcessRun.
-
-
renku.core.models.cwl.command_line_tool.add_indirect_parameter(working_dir, name, value)[source]¶ Add a parameter to indirect parameters.
-
renku.core.models.cwl.command_line_tool.delete_indirect_files_list(working_dir)[source]¶ Remove indirect inputs, outputs, and parameters list.
-
renku.core.models.cwl.command_line_tool.get_indirect_inputs_path(client_path)[source]¶ Return path to file that contains indirect inputs list.
-
renku.core.models.cwl.command_line_tool.get_indirect_outputs_path(client_path)[source]¶ Return path to file that contains indirect outputs list.
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=True, itemSeparator=None, valueFrom=None, shellQuote=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.
-
class
renku.core.models.cwl.parameter.RunParameter(name=None, value=None)[source]¶ Define a parameter for a Workflow that is not passed via command-line.
Method generated by attrs for class RunParameter.
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.
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.