From: Pascale Noyret Date: Fri, 16 Jul 2010 14:50:18 +0000 (+0000) Subject: chgt de map en MAP X-Git-Tag: V2_0~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4bf1bf99ee71348455a904ab5b91879532940f50;p=modules%2Feficas.git chgt de map en MAP --- diff --git a/convert/convert_map.py b/convert/convert_map.py index 4da90068..43998144 100644 --- a/convert/convert_map.py +++ b/convert/convert_map.py @@ -31,7 +31,7 @@ def entryPoint(): """ return { # Le nom du plugin - 'name' : 'map', + 'name' : 'MAP', # La factory pour créer une instance du plugin 'factory' : PythonParser, } diff --git a/generator/generator_map.py b/generator/generator_map.py index 9aaac7e6..ddc7c2ba 100644 --- a/generator/generator_map.py +++ b/generator/generator_map.py @@ -53,8 +53,12 @@ class MapGenerator(PythonGenerator): # Les extensions de fichier permis? extensions=('.map',) + def initialise(self,config): self.config=config + self.nom_racine=self.config.PATH_STUDY+"/"+self.config.NAME_SCHEME+"/" + if not( os.path.exists(self.nom_racine)): + os.makedirs(self.nom_racine) self.listeCODE=[] self.text="" self.textCode="" diff --git a/generator/generator_s_scc_st_2.py b/generator/generator_s_scc_st_2.py index 9d0baf0b..79dfbcbf 100644 --- a/generator/generator_s_scc_st_2.py +++ b/generator/generator_s_scc_st_2.py @@ -30,7 +30,10 @@ from generator_map import MapGenerator import sys sys.path.append('/local00/bin/MAP/classes/python/') -from class_MAP_parameters import * +try : + from class_MAP_parameters import * +except : + pass dico_post={"analyse statistique classique":("c_post_distribution_properties","PDF"), "analyse statistique de la qualite":("",""),