X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=ProfList.py;h=b64d633e6916079a3bfac3fc92aad90f91500b70;hp=6c206ada592965313d0eba361ccb1c939212ad0d;hb=ff602f724b8fc80f4fa067dbbc830343c0b4bed4;hpb=2ffa9388c45dce689bb45c1cf6c7ad81d2636409;ds=sidebyside diff --git a/ProfList.py b/ProfList.py index 6c206ad..b64d633 100644 --- a/ProfList.py +++ b/ProfList.py @@ -431,6 +431,10 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col def quest_simi(self, evt) : tableau = self.Source.tableau + if self.tmpchi is None : + self.tmpchi = tempfile.mktemp(dir=self.Source.parent.TEMPDIR) + with open(self.tmpchi, 'w') as f: + f.write('\n'.join([str(val) for val in self.lchi])) tab = tableau.make_table_from_classe(self.cl, self.la) pathout = ConstructPathOut(self.Source.pathout.dirout, 'simi_classe_%i' %self.cl) self.filename = os.path.join(pathout,'mat01.csv') @@ -468,7 +472,8 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col 'film': False, 'com' : 0, 'communities' : 0, - 'halo' : 0 + 'halo' : 0, + 'tmpchi': self.tmpchi } act = {} tableau.chi = {}