X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=chemins.py;h=57e31c92fee1dcaf53ac44af1b4dbc56d76328bf;hp=b7c288d722999502b71bb2c5d981aba9ffb0a1dc;hb=e47f8c20e356631980624eb52d8476b3b86917c5;hpb=8fa853a25a9d62b1446e1bc543e5a3a4d0e03dcf diff --git a/chemins.py b/chemins.py index b7c288d..57e31c9 100644 --- a/chemins.py +++ b/chemins.py @@ -117,7 +117,9 @@ def ConstructConfigPath(AppliPath, user=True): 'path': os.path.join(ConfigPath, 'path.cfg'), 'preferences' : os.path.join(ConfigPath, 'iramuteq.cfg'), 'pam' : os.path.join(ConfigPath, 'pam.cfg'), - 'history' : os.path.join(ConfigPath, 'history.db'), + 'corpus' : os.path.join(ConfigPath, 'corpus.cfg'), + 'stat' : os.path.join(ConfigPath, 'stat.cfg'), + 'simitxt' : os.path.join(ConfigPath, 'simitxt.cfg'), } return DictConfigPath @@ -139,6 +141,12 @@ def ConstructDicoPath(AppliPath): 'german_exp' : os.path.join(BasePath, 'expression_de.txt'), 'italian' : os.path.join(BasePath, 'lexique_it.txt'), 'italian_exp' : os.path.join(BasePath, 'expression_it.txt'), + 'swedish' : os.path.join(BasePath, 'lexique_sw.txt'), + 'swedish_exp' : os.path.join(BasePath, 'expression_sw.txt'), + 'portuguese' : os.path.join(BasePath, 'lexique_pt.txt'), + 'portuguese_exp': os.path.join(BasePath, 'expression_pt.txt'), + 'greek' : os.path.join(BasePath, 'lexique_gr.txt'), + 'greek_exp' : os.path.join(BasePath, 'expression_gr.txt'), } return DictPath @@ -213,7 +221,6 @@ ChdTxtPathOut = {'TableUc1': 'TableUc1.csv', 'R3DCoul': ffr(tempfile.mkstemp(prefix='iramuteq')[1]), 'RESULT_CHD': 'resultats-chd.html', 'RESULT_AFC': 'resultats-afc.html', - 'Act01': 'Act01.csv', 'Et01': 'Et01.csv', 'Rchdquest':ffr(tempfile.mkstemp(prefix='iramuteq')[1]), 'RTxtProfGraph':ffr(tempfile.mkstemp(prefix='iramuteq')[1]), @@ -264,15 +271,25 @@ def StatTxtPathOut(pathout): } return d -def construct_simipath(pathout): - d = {'mat01' : ffr(os.path.join(pathout, 'mat01.csv')), - 'matsimi' : ffr(os.path.join(pathout, 'matsimi.csv')), - 'eff' : ffr(os.path.join(pathout, 'eff.csv')), - 'RData' : ffr(os.path.join(pathout, 'RData.RData')), - 'liste_graph' : os.path.join(pathout, 'liste_graph.txt'), - 'ira' : os.path.join(pathout, 'Analyse.ira'), - 'film' : ffr(pathout), - 'db' : os.path.join(pathout, 'analyse.db'), - 'corpus' : os.path.join(pathout, 'corpus.db'), +#def construct_simipath(pathout): +# d = {'mat01' : 'mat01.csv', +# 'matsimi' : 'matsimi.csv', +# 'eff' : 'eff.csv', +# 'RData' : 'RData.RData', +# 'liste_graph' : 'liste_graph.txt', +# 'ira' : 'Analyse.ira', +# 'film' : '', +# 'db' : 'analyse.db', +# } + +simipath = {'mat01' : 'mat01.csv', + 'matsimi' : 'matsimi.csv', + 'eff' : 'eff.csv', + 'RData' : 'RData.RData', + 'liste_graph' :'liste_graph.txt', + 'ira' : 'Analyse.ira', + 'film' : '', + 'db' : 'analyse.db', + 'corpus' : 'corpus.db', } - return d +