X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=textreinert.py;fp=textreinert.py;h=b15273feee228819100c143de24760370f4362f8;hp=d32f24a7df192b6b7e8162bb9752dff67beed721;hb=b3bc705961fd8798f6379bad9e1d448a85f484a5;hpb=8afa738ca2e08be2100badeb77e7ff5560b271cf diff --git a/textreinert.py b/textreinert.py index d32f24a..b15273f 100644 --- a/textreinert.py +++ b/textreinert.py @@ -31,8 +31,9 @@ class Reinert(AnalyseText) : self.corpus.make_and_write_sparse_matrix_from_uci(self.actives, self.pathout['TableUc1'], self.pathout['listeuce1']) uci = True Rscript = self.printRscript() - self.doR(Rscript, dlg=self.dlg, message='CHD...') - + result = self.doR(Rscript, dlg=self.dlg, message='CHD...') + if not result : + return 'NOK' self.corpus.make_ucecl_from_R(self.pathout['uce']) self.corpus.make_and_write_profile(self.actives, self.corpus.lc, self.pathout['Contout'], uci = uci) self.sup, lim = self.corpus.make_actives_nb(self.parametres['max_actives'], 2)