How to use the pydra.cluster.tasks.Task.__init__ function in pydra

To help you get started, we’ve selected a few pydra examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kreneskyp / Pydra / examples / demo / demo_task.py View on Github external
def __init__(self, msg='Demo Task', *args, **kwargs):
        Task.__init__(self, msg)
github kreneskyp / Pydra / pydra / cluster / tasks / task_container.py View on Github external
def __init__(self, msg, sequential=True):
        Task.__init__(self, msg)
        self.subtasks = []
        self.sequential = sequential
        for task in self.subtasks:
            task.parent = self
github kreneskyp / Pydra / examples / demo / demo_task.py View on Github external
def __init__(self, msg='Demo Task'):
        Task.__init__(self, msg)
github kreneskyp / Pydra / examples / demo / fail_tasks.py View on Github external
def __init__(self, msg='Demo Task'):
        Task.__init__(self, msg)
github kreneskyp / Pydra / pydra / cluster / tasks / parallel_task.py View on Github external
def __init__(self, msg=None):
        Task.__init__(self, msg)
        self._lock = RLock()             # general lock
        self.subtask = None              # subtask that is parallelized
        self.__subtask_class = None      # class of subtask
        self.__subtask_args = None       # args for initializing subtask
        self.__subtask_kwargs = None     # kwargs for initializing subtask

        self.datasource = validate(self.datasource)

        self.logger = logging.getLogger('root')
github kreneskyp / Pydra / pydra / cluster / tasks / parallel_task.py View on Github external
def __init__(self, msg=None):
        Task.__init__(self, msg)
        self._lock = RLock()
        self.subtask = None              # subtask that is parallelized
        self.__subtask_class = None      # class of subtask
        self.__subtask_args = None       # args for initializing subtask
        self.__subtask_kwargs = None     # kwargs for initializing subtask