X-Git-Url: http://iramuteq.org/git?a=blobdiff_plain;f=tabchi2mcnemar.py;h=cff31676d5ec69dfe2de6a2b94d8e50dba14faf0;hb=84d65cafbe5cf923906110e23c73d8a9a2f4e0bd;hp=b1d5ce9fb877fb8ac95a73473500821151495320;hpb=eaa044d1147e26b82942ce56d5965c83fdddf069;p=iramuteq diff --git a/tabchi2mcnemar.py b/tabchi2mcnemar.py index b1d5ce9..cff3167 100644 --- a/tabchi2mcnemar.py +++ b/tabchi2mcnemar.py @@ -143,13 +143,13 @@ class McNemar(AnalyseMatrix): cont<-1 """%(ffr(self.tableau.parametres['csvfile']), self.tableau.parametres['syscoding']) if len(self.colsel1)==1: - strsel1=str(self.colsel1).replace(',','') + strsel1=str(tuple(self.colsel1)).replace(',','') else: - strsel1=str(self.colsel1) + strsel1=str(tuple(self.colsel1)) if len(self.colsel2)==1: - strsel2=str(self.colsel2).replace(',','') + strsel2=str(tuple(self.colsel2)).replace(',','') else: - strsel2=str(self.colsel2) + strsel2=str(tuple(self.colsel2)) txt+=""" for (i in c%s) {""" % strsel1 txt+="""