From: pierre Date: Sat, 7 Sep 2024 16:36:09 +0000 (+0200) Subject: ... X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=e2253b18f6509bf011b702ec4b01119d7ac17c00;p=iramuteq ... --- diff --git a/ProfList.py b/ProfList.py index cf4618c..9315f5e 100644 --- a/ProfList.py +++ b/ProfList.py @@ -690,7 +690,7 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col 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) diff --git a/tabchi2mcnemar.py b/tabchi2mcnemar.py index 439aa93..b42a9a1 100644 --- a/tabchi2mcnemar.py +++ b/tabchi2mcnemar.py @@ -319,10 +319,10 @@ class McNemar(AnalyseMatrix): 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 @@ -340,7 +340,7 @@ class McNemar(AnalyseMatrix): 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]