woom.workflow.Workflow.get_task_artifact_paths

woom.workflow.Workflow.get_task_artifact_paths#

Workflow.get_task_artifact_paths(artifact_name, task_name, cycle=None, member=None, flat=False)[source]#

Get the paths of an artifact of a given task across cycles and members

This is a special call to get_task_artifacts() in which the artifact name is mandatory as first argument.

Parameters:
  • artifact_name (str) – Name of the artifacts

  • task_name (str) – A valid task name

  • cycle (woom.util.Cycle, str, None) – Current cycle or None

  • member (None, woom.iters.Member) – Member number of the ensemble, starting from 1

Returns:

An artifact path(s)

Return type:

str, list, dict