示例#1
0
 def __init__(self, workflow, **kwargs):
     super(EnsembleModelWorkflow, self).__init__(workflow, **kwargs)
     self.histogram = AutoHistogramPlotter(self)
     self.histogram.input = self.ensemble.fitnesses
     self.histogram.link_from(self.ensemble)
     self.repeater.unlink_from(self.ensemble)
     self.repeater.link_from(self.histogram)
示例#2
0
class EnsembleModelWorkflow(EnsembleWorkflowBase):
    KWATTRS = set(EnsembleModelManager.KWATTRS)
    MANAGER_UNIT = EnsembleModelManager

    def __init__(self, workflow, **kwargs):
        super(EnsembleModelWorkflow, self).__init__(workflow, **kwargs)
        self.histogram = AutoHistogramPlotter(self)
        self.histogram.input = self.ensemble.fitnesses
        self.histogram.link_from(self.ensemble)
        self.repeater.unlink_from(self.ensemble)
        self.repeater.link_from(self.histogram)