execute_workflow#

pharmpy.workflows.execute_workflow(workflow, dispatcher=None, database=None, path=None, resume=False)[source]#

Execute workflow

Parameters:
  • workflow (Workflow) – Workflow to execute

  • dispatcher (ExecutionDispatcher) – Dispatcher to use

  • database (ToolDatabase) – Tool database to use. None for the default Tool database.

  • path (Path) – Path to use for database if applicable.

  • resume (bool) – Whether to allow resuming previous workflow execution.

Returns:

Results – Results object created by workflow