コード例 #1
0
def queue_invoke(trans, workflow, workflow_run_config, request_params=None, populate_state=True, flush=True):
    request_params = request_params or {}
    if populate_state:
        modules.populate_module_and_state(trans, workflow, workflow_run_config.param_map, allow_tool_state_corrections=workflow_run_config.allow_tool_state_corrections)
    workflow_invocation = workflow_run_config_to_request(trans, workflow_run_config, workflow)
    workflow_invocation.workflow = workflow
    return trans.app.workflow_scheduling_manager.queue(workflow_invocation, request_params, flush=flush)
コード例 #2
0
ファイル: run.py プロジェクト: Christian-B/galaxy
def queue_invoke( trans, workflow, workflow_run_config, request_params={}, populate_state=True ):
    if populate_state:
        modules.populate_module_and_state( trans, workflow, workflow_run_config.param_map, allow_tool_state_corrections=workflow_run_config.allow_tool_state_corrections )
    workflow_invocation = workflow_run_config_to_request( trans, workflow_run_config, workflow )
    workflow_invocation.workflow = workflow
    return trans.app.workflow_scheduling_manager.queue(
        workflow_invocation,
        request_params
    )
コード例 #3
0
ファイル: run.py プロジェクト: usegalaxy-eu/galaxy
def queue_invoke( trans, workflow, workflow_run_config, request_params={}, populate_state=True ):
    if populate_state:
        modules.populate_module_and_state( trans, workflow, workflow_run_config.param_map )
    workflow_invocation = workflow_run_config_to_request( trans, workflow_run_config, workflow )
    workflow_invocation.workflow = workflow
    return trans.app.workflow_scheduling_manager.queue(
        workflow_invocation,
        request_params
    )