X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=ProfList.py;h=a127a04c16690db752d12fc62fc98e6cfc05a977;hp=94122324bd6bdab8e02c2999bcbcf05778c028e8;hb=3da59380dc0b7589b4302a5f3fe9e31ce6362039;hpb=fca6f30e3159a44e2a4f053546d1d7df21ad8c6b diff --git a/ProfList.py b/ProfList.py index 9412232..a127a04 100644 --- a/ProfList.py +++ b/ProfList.py @@ -20,14 +20,14 @@ import wx.lib.mixins.listctrl as listmix #from tabsimi import DoSimi from listlex import ListForSpec from chemins import ConstructPathOut, ffr -from dialog import PrefExport, PrefUCECarac, SearchDial, message, MessageImage, BarFrame -from tableau import Tableau, copymatrix +from dialog import PrefUCECarac, SearchDial, message, BarFrame +from tableau import copymatrix from search_tools import SearchFrame import webbrowser #import cStringIO import tempfile import codecs -from functions import exec_rcode, progressbar, treat_var_mod, doconcorde +from functions import progressbar, treat_var_mod, doconcorde from PrintRScript import barplot from textclassechd import ClasseCHD from shutil import copyfile @@ -45,6 +45,7 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col self.cl = cl self.var_mod = {} self.them_mod = {} + self.ira = wx.GetApp().GetTopWindow() line1 = profclasse.pop(0) classen = [line for line in profclasse if line[0] != '*' and line[0] != '*****'] @@ -546,7 +547,7 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col 'lem' : self.Source.parametres['lem'], 'tmpchi' : self.tmpchi} #try : - self.parent.SimiFromCluster(self.parent, self.Source.corpus, self.la, self.lfreq, self.lchi, self.cl - 1, parametres = parametres, dlg = progressbar(self, 4)) + self.parent.SimiFromCluster(self.parent, self.Source.corpus, self.la, self.lfreq, self.lchi, self.cl - 1, parametres = parametres, dlg = progressbar(self.ira, 4)) #except : # print 'not acitve' @@ -560,7 +561,7 @@ class ProfListctrlPanel(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.Col 'lem' : self.Source.parametres['lem'], 'tmpchi' : self.tmpchi} - self.parent.SimiFromCluster(self.parent, self.Source.corpus, self.la, self.lfreq, self.lchi, self.cl - 1, parametres = parametres, dlg = progressbar(self, 4)) + self.parent.SimiFromCluster(self.parent, self.Source.corpus, self.la, self.lfreq, self.lchi, self.cl - 1, parametres = parametres, dlg = progressbar(self.ira, 4)) def on_segments(self,evt) : dlg = progressbar(self, 2)