X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=chemins.py;h=24a76debbed7920f74e162bcf5b709efa696c1cf;hp=014d009d3444948fc2aaec00e91a1fc81fcc5fc1;hb=4dc1de2e438378f357bcbb2fd8cf0075e0bdcd55;hpb=eb798ba97d92c40656cedc5414974a9edf7a332c diff --git a/chemins.py b/chemins.py index 014d009..24a76de 100644 --- a/chemins.py +++ b/chemins.py @@ -21,9 +21,9 @@ class PathOut : self.analyse = analyse_type #self.dirout = self.mkdirout(dirout) if dirout is not None: - self.dirout = dirout + self.dirout = os.path.abspath(dirout) elif filename is not None and dirout is None: - self.dirout = self.directory + self.dirout = os.path.abspath(self.directory) self.d = {} def mkdirout(self) : @@ -129,7 +129,7 @@ def ConstructConfigPath(AppliPath, user=True): else : ConfigPath = AppliPath DictConfigPath = { - 'alceste': os.path.join(ConfigPath, 'alceste.cfg'), + 'reinert': os.path.join(ConfigPath, 'reinert.cfg'), 'key': os.path.join(ConfigPath, 'key.cfg'), 'path': os.path.join(ConfigPath, 'path.cfg'), 'preferences' : os.path.join(ConfigPath, 'iramuteq.cfg'), @@ -137,6 +137,7 @@ def ConstructConfigPath(AppliPath, user=True): 'corpus' : os.path.join(ConfigPath, 'corpus.cfg'), 'stat' : os.path.join(ConfigPath, 'stat.cfg'), 'simitxt' : os.path.join(ConfigPath, 'simitxt.cfg'), + 'matrix' : os.path.join(ConfigPath, 'matrix.cfg'), } return DictConfigPath