From a677ec6577842ca289514be983fab55b93c4f547 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Fri, 15 Oct 2010 14:23:51 +0000 Subject: [PATCH] *** empty log message *** --- generator/generator_s_polymers_st_1.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/generator/generator_s_polymers_st_1.py b/generator/generator_s_polymers_st_1.py index 9693cbdc..77a2baaa 100644 --- a/generator/generator_s_polymers_st_1.py +++ b/generator/generator_s_polymers_st_1.py @@ -29,9 +29,11 @@ import types,string,re,os from generator_map import MapGenerator import sys -sys.path.append(os.path.join(os.getenv('MAP_DIRECTORY'),'classes/python/')) -from class_MAP_parameters import * - +try : + sys.path.append(os.path.join(os.getenv('MAP_DIRECTORY'),'classes/python/')) + from class_MAP_parameters import * +except : + pass #____________________________________________________________________________________ # PYGMEEDict contient une equivalence entre le catalogue Map et les lignes generees # comme entete (commentaire ?) dans le fichier d'input de pygmee -- 2.39.2