panel.TabChdSim.AddPage(self.prof_seg_nb, _(u"Repeated segments profiles").decode('utf8'))
# panel.Bind(wx.EVT_BUTTON, self.ongetrapport, id = self.ID_rapport)
panel.TabChdSim.AddPage(self.prof_seg_nb, _(u"Repeated segments profiles").decode('utf8'))
# panel.Bind(wx.EVT_BUTTON, self.ongetrapport, id = self.ID_rapport)
+ if os.path.exists(os.path.join(self.parametres['pathout'], 'tgenchi2.csv')) :
+ self.parametres['tgenspec'] = os.path.join(self.parametres['pathout'], 'tgenchi2.csv')
+ TgenLayout(panel)
+ panel.TabChdSim.SetSelection(0)
self.parent.nb.AddPage(panel, _(u"Clustering").decode('utf8') + ' - %s' % corpname)
self.parent.ShowTab(True)
self.parent.nb.SetSelection(self.parent.nb.GetPageCount() - 1)
self.parent.nb.AddPage(panel, _(u"Clustering").decode('utf8') + ' - %s' % corpname)
self.parent.ShowTab(True)
self.parent.nb.SetSelection(self.parent.nb.GetPageCount() - 1)
else :
self.page.tgentab = ListForSpec(ira, gparent, self.page.tgens, etoiles[1:])
self.page.tgentab.tgen = True
self.page.tgentab.tgens = tgen.tgen
else :
self.page.tgentab = ListForSpec(ira, gparent, self.page.tgens, etoiles[1:])
self.page.tgentab.tgen = True
self.page.tgentab.tgens = tgen.tgen
- self.page.AddPage(self.page.tgentab, u'Tgens Specificities')
- self.page.SetSelection(self.page.GetPageCount() - 1)
+ page.AddPage(self.page.tgentab, u'Tgens Specificities')
+ page.SetSelection(page.GetPageCount() - 1)
class dolexlayout :
def __init__(self, ira, corpus, parametres):
class dolexlayout :
def __init__(self, ira, corpus, parametres):
'halo' : self.dial.halo.GetValue(),
'com' : self.dial.comcheck.GetValue(),
'communities' : self.dial.choix_com.GetSelection(),
'halo' : self.dial.halo.GetValue(),
'com' : self.dial.comcheck.GetValue(),
'communities' : self.dial.choix_com.GetSelection(),