From c7b3683fd33629eb01b37ea59a485eca8f9e6df8 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 5 Oct 2010 07:35:53 +0000 Subject: [PATCH] ajout du PATH_MAP comme parametre --- generator/generator_s_polymers_st_1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/generator_s_polymers_st_1.py b/generator/generator_s_polymers_st_1.py index c527375c..603405ff 100644 --- a/generator/generator_s_polymers_st_1.py +++ b/generator/generator_s_polymers_st_1.py @@ -29,7 +29,8 @@ import types,string,re,os from generator_map import MapGenerator import sys -sys.path.append('/local00/bin/MAP/classes/python/') +from prefs_MAP import PATH_MAP +sys.path.append(os.path.join(PATH_MAP,'classes/python/')) from class_MAP_parameters import * #____________________________________________________________________________________ -- 2.39.2