import logging
-logger = logging.getLogger('iramuteq.textsimi')
+log = logging.getLogger('iramuteq.textsimi')
class SimiTxt(AnalyseText):
def doanalyse(self) :
self.makefiles()
script = PrintSimiScript(self)
script.make_script()
- if not self.doR(script.scriptout) :
+ if not self.doR(script.scriptout, dlg = self.dlg, message = 'R...') :
+ log.info('Problem')
return False
if self.parametres['type_graph'] == 1:
if os.path.exists(self.pathout['liste_graph']):
else :
return False
- def preferences(self) :
- dial = StatDialog(self, self.parent)
- dial.CenterOnParent()
- val = dial.ShowModal()
- if val == 5100 :
- if dial.radio_lem.GetSelection() == 0 :
- lem = 1
- else :
- lem = 0
- self.parametres['lem'] = lem
- dial.Destroy()
- return self.parametres
- else :
- dial.Destroy()
- return None
+# def preferences(self) :
+# dial = StatDialog(self, self.parent)
+# dial.CenterOnParent()
+# val = dial.ShowModal()
+# if val == 5100 :
+# if dial.radio_lem.GetSelection() == 0 :
+# lem = 1
+# else :
+# lem = 0
+# self.parametres['lem'] = lem
+# dial.Destroy()
+# return self.parametres
+# else :
+# dial.Destroy()
+# return None
def makesimiparam(self) :
self.paramsimi = {'coeff' : 0,
self.makefiles()
script = PrintSimiScript(self)
script.make_script()
- if self.doR(script.scriptout) :
+ if not self.doR(script.scriptout, dlg = self.dlg, message = 'R ...') :
return False
if self.parametres['type_graph'] == 1:
if os.path.exists(self.pathout['liste_graph']):