corpus = self.Source.corpus
else :
corpus = self.Source.tableau
- with open(self.Source.pathout['chisqtable'], 'r', encoging='utf8') as f :
+ with open(self.Source.pathout['chisqtable'], 'r', encoding='utf8') as f :
chistable = [line.replace('\n','').replace('\r','').replace('"','').replace(',','.').split(';') for line in f]
title = chistable[0]
title.pop(0)
pid = exec_rcode(self.RPath, tmpfile, wait = False)
while pid.poll() == None :
sleep(0.2)
- check_Rresult(self.parent, pid)
+ check_Rresult(self.parent, pid)
self.count += 1
keepGoing = self.dlg.Update(self.count,"Ecriture des résultats")
-
+
listfileout = self.dolayout(self.chioption)
#listfileout=dlg.ShowChi2(ColSel1,ColSel2)
#parent.FreqNum += 1
def dolayout(self, option):
ListFile=[False]
- file=open(self.OutFrame,'r', encoging='utf8')
+ file=open(self.OutFrame,'r', encoding='utf8')
content=file.readlines()
file.close()
lcont = [line.replace('"','').replace('\n','').split(';') for line in content]