X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=analysetxt.py;h=e3e1244a775d7c7abc00021d0321bb7186533af5;hp=54f0c5cfef2cae88a5360f8120b45b2ff338bb8a;hb=0c8c6509adbec7ffb2ee844aea5e92b0e021a82d;hpb=d33694ef233bd4a28e69d88e9eef3c5c129442fe diff --git a/analysetxt.py b/analysetxt.py index 54f0c5c..e3e1244 100644 --- a/analysetxt.py +++ b/analysetxt.py @@ -53,7 +53,10 @@ class AnalyseText : self.dialok = True self.parametres = parametres self.val = False - self.pathout = PathOut(corpus.parametres['originalpath'], analyse_type = parametres['type'], dirout = corpus.parametres['pathout']) + if not 'pathout' in self.parametres : + self.pathout = PathOut(corpus.parametres['originalpath'], analyse_type = parametres['type'], dirout = corpus.parametres['pathout']) + else : + self.pathout = PathOut(filename = corpus.parametres['originalpath'], dirout = self.parametres['pathout'], analyse_type = self.parametres['name']) self.parametres = self.make_config(parametres) log.info(self.pathout.dirout) if self.parametres is not None :