Exemple #1
0
 def _call_init(self, *options, **kwds):
     Task._call_init(self, *options, **kwds)
     for i in self.inputs:
         val = self.inputs[i].get_value()
         if not val is None:
             self._start_task.outputs[i].set_value(val)
             self._start_task.outputs[i].set_ready()
Exemple #2
0
 def __init__(self, id=None, name=None, parser=None):
     Task.__init__(self, id=id, name=name, parser=None)
     self._tasks = {}
     self._start_task = EmptyTask()
     self._final_task = EmptyTask()
     self.add(self._start_task)
     self.add(self._final_task)
Exemple #3
0
 def _call_init(self, *options, **kwds):
     Task._call_init(self, *options, **kwds)
     for i in self.inputs:
         val = self.inputs[i].get_value()
         if not val is None:
             self._start_task.outputs[i].set_value(val)
             self._start_task.outputs[i].set_ready()
Exemple #4
0
 def __init__(self, id=None, name=None, parser=None):
     Task.__init__(self, id=id, name=name, parser=None)
     self._tasks = {}
     self._start_task = EmptyTask()
     self._final_task = EmptyTask()
     self.add(self._start_task)
     self.add(self._final_task)
Exemple #5
0
 def __init__(self, id=None, name=None, parser=None):
     Task.__init__(self, id=id, name=name, parser=None)
     self._tasks = {}
     self._start_task = EmptyTask()
     self._final_task = EmptyTask()
     self.add(self._start_task)
     self.add(self._final_task)
     # Robert Crimi
     self.workflowID = None
 def __init__(self, id=None, name=None, parser=None):
     Task.__init__(self, id=id, name=name, parser=None)
     self._tasks = {}
     self._start_task = EmptyTask()
     self._final_task = EmptyTask()
     self.add(self._start_task)
     self.add(self._final_task)
     # Robert Crimi
     self.workflowID = None
Exemple #7
0
 def __repr__(self):
     return (
         "Workflow %s:\n" % self.name
         + Task.__repr__(self)
         + "\n"
         + "\n".join(self._dfs_([self._start_task.id], lambda t: str(t)))
     )
Exemple #8
0
 def __repr__(self):
     return "Workflow %s:\n" % self.name + Task.__repr__(
         self) + '\n' + "\n".join(
             self._dfs_([self._start_task.id], lambda t: repr(t)))