def doRun(self): self.scan = eComponentScan() self.frontendInfo.frontend_source = lambda : self.scan and self.scan.getFrontend() or None self.feid = self.scanList[self.run]["feid"] self.flags = self.scanList[self.run]["flags"] self.state = self.Idle self.scanStatusChanged() for x in self.scanList[self.run]["transponders"]: self.scan.addInitial(x)
def doRun(self): self.scan = eComponentScan() self.frontendInfo.frontend_source = lambda : self.scan.getFrontend() self.feid = self.scanList[self.run]['feid'] self.flags = self.scanList[self.run]['flags'] self.networkid = 0 if self.scanList[self.run].has_key('networkid'): self.networkid = self.scanList[self.run]['networkid'] self.state = self.Idle self.scanStatusChanged() for x in self.scanList[self.run]['transponders']: self.scan.addInitial(x)