示例#1
0
def createWorkflow( workflowName ):
    """Create the workflow matching the given name """
    return wflbase.loadWorkflowFromDotFile( make_path( __file__ ).parent() / workflowName + ".dot" )
示例#2
0
	def _createWrappedWfl( self, wfldir, wflname ):
		"""
		:return: our wrapped workflow instance as created by a method loading a workflow
			from a file"""
		wfl = wflbase.loadWorkflowFromDotFile( make_path( wfldir ) / wflname )
		return wfl
示例#3
0
文件: __init__.py 项目: kthulhu/mrv
def createWorkflow(workflowName):
    """Create the workflow matching the given name """
    return wflbase.loadWorkflowFromDotFile(
        make_path(__file__).parent() / workflowName + ".dot")