Beispiel #1
0
def analyzeSamples(sams, repoManager):
    samples.reset()
    conclusions.reset()
    samples._repomanager = repoManager
    samples.sampleList = [samples.CalvinSample(sample) for sample in sams]
    
    if not initial_polling.setInitialData():
        return
    
    args = engine.explainAges()
        
    frame = main_window.CalvinFrame()
    frame.showArguments(args)
    frame.Show()
Beispiel #2
0
 def pollForData(self, evt):
     samples.landformData = self.sampleStuff[0].copy()
     samples.confidenceEntry = self.sampleStuff[1].copy()
     samples.sampleList = self.sampleStuff[2][:]
     samples.landformPoll = self.pollData[0][:]
     samples.samplePoll = self.pollData[1][:]
     
     user_polling.doLandformPolling()
     user_polling.doSamplePolling()
     
     self.Show(False)
     
     conclusions.reset()
     args = engine.explainAges()
     
     newWindow = CalvinFrame()
     newWindow.showArguments(args, self.sampleStuff)
     newWindow.Show()
     
     self.Close()
     self.Destroy()