self.parametres['uuid'] = str(uuid4())
self.parametres['name'] = os.path.split(self.parametres['pathout'])[1]
self.parametres['type'] = parametres['type']
+ self.parametres['encoding'] = self.ira.syscoding
self.t1 = time()
#if self.corpus.lems is None :
self.corpus.make_lems(lem = self.parametres['lem'])
minutes, seconds = divmod(self.time, 60)
hours, minutes = divmod(minutes, 60)
self.parametres['time'] = '%.0fh %.0fm %.0fs' % (hours, minutes, seconds)
- self.parametres['ira'] = self.pathout['ira']
- DoConf().makeoptions([self.parametres['type']], [self.parametres], self.pathout['ira'])
+ self.parametres['ira'] = self.pathout['Analyse.ira']
+ DoConf().makeoptions([self.parametres['type']], [self.parametres], self.pathout['Analyse.ira'])
self.ira.history.add(self.parametres)
if dlg :
dlg.Destroy()
def make_config(self, config) :
if config is not None :
- if isinstance(config, basestring) :
- return self.readconfig(config)
+ if not self.dlg :
+ return config
else :
return self.preferences()
def preferences(self) :
return {}
- def doR(self):
- pass
-
def printRscript(self) :
pass