Пример #1
0
    def __init__(self, base_run, path):
        CompositeRun.__init__(self,
                     path=path,
                     identifier=base_run.identifier(),
                     )
        self.__base_run = base_run

        for part in [0, 1]:
            run = PartialSystemOneShot2(
                                        path=self.runDirectory(),
                                        base_run=base_run,
                                        part=part,
                                        )
            self.addRun(run)
Пример #2
0
    def __init__(self, base_run):
        self.__base_run = base_run

        runs = []
        path = join(base_run.path(), self.name())
        for part in [0,1]:
            for ghost in [True, False]:
            #for ghost in [True]:
                run = PartialSystemOneShot(
                                    path=path,
                                    base_run=base_run,
                                    part=part,
                                    ghost=ghost,
                                    )
                runs.append(run)

        CompositeRun.__init__(self,
                     path=base_run.path(),
                     identifier=base_run.identifier(),
                     runs=runs,
                     inputs=(base_run,),
                     )
Пример #3
0
 def __init__(self, system, method):
     self.__system = system
     self.__method = method
     self.__items = []
     CompositeRun.__init__(self)