mrv.automation.base

Epydoc: mrv.automation.base

general methods and classes

Functions

mrv.automation.base._getNodeInfo(node)
Returns:( nodename, args, kwargs ) - all arguments have been parsed
mrv.automation.base._toSimpleType(stringtype)
mrv.automation.base.addWorkflowsFromDotFiles(module, dotfiles, workflowcls=None)

Create workflows from a list of dot-files and add them to the module

Parameter:workflowcls – see loadWorkflowFromDotFile
Returns:list of workflow instances created from the given files
mrv.automation.base.loadWorkflowFromDotFile(dotfile, workflowcls=None)

Create a graph from the given dotfile and create a workflow from it. The workflow will be fully intiialized with connected process instances. The all compatible plugs will automatically be connected for all processes connected in the dot file

Parameter:workflowcls – if not None, a dgengine.Graph compatible class to be used for workflow creation. Defaults to automation.workflow.Workflow.
Returns:List of initialized workflow classes - as they can be nested, the creation of one workflow can actually create several of them

Exceptions

Epydoc: mrv.automation.base

class mrv.automation.base.PlugAlreadyConnected

Bases: mrv.dge.ConnectionError

Thrown if one tries to connect a plug to otherplug when otherplug is already connected

args
message

Table Of Contents

Previous topic

mrv.automation.process

Next topic

mrv.automation.report

This Page