self.tableau.parametres['mineff'] = 0
if not self.fromprof :
dialcol = FreqDialog(self.parent, self.tableau.get_colnames(), _("Select columns"), size=(600, 250), showNA = False)
- dialcol.CenterOnParent()
+ dialcol.CenterOnParent()
res = dialcol.ShowModal()
else :
res = wx.ID_OK
self.paramsimi = self.make_param()
self.parametres.update(self.paramsimi)
#self.parametres['type'] = 'simimatrix'
- if not self.pathout :
+ if not self.pathout :
self.parametres['pathout'] = ConstructPathOut(self.parametres['pathout'], 'SimiMatrix')
else :
self.parametres['pathout'] = self.dirout
self.pathout.createdir(self.parametres['pathout'])
self.pathout.dirout = self.parametres['pathout']
self.dial.Destroy()
- #self.doanalyse2()
+ #self.doanalyse2()
else :
self.dial.Destroy()
self.parametres = None
def doanalyse(self) :
self.pathout.basefiles(simipath)
- with open(normpath_win32(self.pathout['selected.csv']), 'w') as f :
+ with open(normpath_win32(self.pathout['selected.csv']), 'w', encoding='utf8') as f :
f.write('\n'.join([repr(val) for val in self.column]))
count = 1
keepGoing = self.dlg.Update(count)
self.tmpfile = self.script.scriptout
self.DoR(self.dlg)
self.addgraph()
- self.tableau.save_tableau(self.pathout['db'])
+ self.tableau.save_tableau(self.pathout['analyse.db'])
#self.make_ira()
#count += 1
#self.dlg.Update(count, u"")