def test__pattern_name(self):
        """ Tests the pattern name.
        """
        from radical.ensemblemd import Pipeline

        dp = Pipeline()
        assert dp.name == "Pipeline"
Example #2
0
    def test__pipeline_pattern_api(self):
        """ Tests the Pipeline pattern API.
        """

        from radical.ensemblemd import Pipeline

        dp = Pipeline()
        assert dp.name == "Pipeline"
 def __init__(self, instances):
     Pipeline.__init__(self, instances)
Example #4
0
 def __init__(self, steps, instances):
     Pipeline.__init__(self, steps, instances)
Example #5
0
 def __init__(self, instances, link_directives, checksum_inputfile, download_output):
     Pipeline.__init__(self, instances)
     self._link_directives = link_directives
     self._checksum_inputfile = checksum_inputfile
     self._download_output = download_output
    def test_pattern_number_stages(self):
        from radical.ensemblemd import Pipeline

        pattern = Pipeline(stages=2, tasks=1)
        assert pattern.stages == 2
    def test_pattern_tasks(self):
        from radical.ensemblemd import Pipeline

        pattern = Pipeline(stages=2, tasks=2)
        assert pattern.tasks == 2
    def test_pattern_name(self):
        from radical.ensemblemd import Pipeline

        pattern = Pipeline()
        assert pattern.name == 'Pipeline'
Example #9
0
 def __init__(self,steps,instances):
     Pipeline.__init__(self, steps,instaces)
 def __init__(self, instances, output_copy_directives):
     Pipeline.__init__(self, instances)
     self._output_copy_directives = output_copy_directives
 def __init__(self, instances, idle_time=0):
     self.idle_time = idle_time
     Pipeline.__init__(self, instances)
Example #12
0
 def __init__(self, instances, output_copy_directives):
     Pipeline.__init__(self, instances)
     self._output_copy_directives = output_copy_directives
 def __init__(self, instances, idle_time=0):
     self.idle_time = idle_time
     Pipeline.__init__(self, instances)