コード例 #1
0
ファイル: __init__.py プロジェクト: mrv-developers/mrv
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")