adaptivemd.Action

class adaptivemd.Action[source]

A bash-command-like action to be executed in a Task

The main purpose is to have a worker/hpc independent description of what should happen. This objects carry all the necessary information and will be parsed into a bash script on the actual HPC / worker

__init__()[source]

x.__init__(…) initializes x; see help(type(x)) for signature

Methods

__init__() x.__init__(…) initializes x; see help(type(x)) for signature
args() Return a list of args of the __init__ function of a class
base() Return the most parent class actually derived from StorableMixin
descendants() Return a list of all subclassed objects
from_dict(dct) Reconstruct an object from a dictionary representation
get_uuid() Create a new unique ID :returns: the unique number for an object in the project :rtype: long
idx(store) Return the index which is used for the object in the given store.
named(name) Attach a .name property to an object
objects() Returns a dictionary of all storable objects
to_dict() Convert object into a dictionary representation

Attributes

ACTIVE_LONG
CREATION_COUNT
INSTANCE_UUID
base_cls Return the base class
base_cls_name Return the name of the base class
cls Return the class name as a string