AnADAMA2 API Reference¶
Release: | 0.1.2 |
---|---|
Date: | Dec 13, 2018 |
Welcome to the AnADAMA2 API Reference Guide!
AnADAMA2 is the next generation of AnADAMA (Another Automated Data Analysis Management Application). AnADAMA is a tool to capture your workflow and execute it efficiently on your local machine or in a grid compute environment (ie. sun grid engine or slurm).
For more information on AnADAMA2, please read the User Manual.
-
class
anadama2.
Task
(name, actions, depends, targets, task_no, visible)[source]¶ A unit of work.
Parameters: - name (str or unicode) – The task name; must be unique to all tasks within a workflow.
- actions (list of callable) – The actions to execute; do these and the work is done.
- depends (list of
anadama2.tracked.Base
) – The list of dependencies. - targets (list of
anadama2.tracked.Base
) – The list of targets. The task must produce all of these to be a successfully complete task. - task_no (int) – The unique task number. Ordered by declaration, not execution.
- visible (bool) – Whether the task should appear in the console or not.