From: LUCIE BERTHON Date: Wed, 5 Sep 2018 12:28:25 +0000 (+0200) Subject: Suppression Map2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b83fa4bcb0cbe25ea6ce06bbb380e8a6625315ae;p=tools%2Feficas.git Suppression Map2 --- diff --git a/Map2/__init__.py b/Map2/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/Map2/cata_map.py b/Map2/cata_map.py deleted file mode 100644 index daad803e..00000000 --- a/Map2/cata_map.py +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright (C) 2008-2018 EDF R&D -# -# This file is part of SALOME ADAO module -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -import os, re -import Accas -from Accas import * - -JdC = JDC_CATA ( - code = 'Map2', - ) -VERSION_CATALOGUE='V_0' - - -Experiences = PROC(nom = 'experiences', - - description = SIMP(statut='o', typ='TXM', defaut=''), - experience = FACT(statut='o', max = "**", - experience_Name = SIMP (statut='o', typ='TXM'), - source = SIMP(statut='o', typ='TXM', into=['File','Dico','Value']), - b_source_file = BLOC(condition="source == 'File'", - exp_file = SIMP(statut = "o", typ = 'Fichier'), - ), - b_source_valeur = BLOC(condition="source == 'Value'", - exp_value = SIMP(statut = "o", typ = 'R'), - ), - b_source_dico = BLOC(condition="source == 'Dico'", - exp_dico = SIMP(statut = "o", typ = 'TXM'), - ), - Associated_simulation_step_number = SIMP(statut='o', typ='I', val_min=1), - dependancy = FACT( statut='o', - type_dependancy= SIMP(statut='o', - typ='TXM', into=['temperature','moisture','irradiation']), - source = SIMP(statut='o', typ='TXM', into=['File','Dico','Value']), - b_source_file = BLOC(condition="source == 'File'", - exp_file = SIMP(statut = "o", typ = 'Fichier'),), - b_source_valeur = BLOC(condition="source == 'Value'", - exp_value = SIMP(statut = "o", typ = 'R'),), - b_source_dico = BLOC(condition="source == 'Dico'", - exp_dico = SIMP(statut = "o", typ = 'TXM'),), - ), - ), - dimensions= FACT( statut = 'f', - diameter = SIMP(statut='o', typ='R', val_min = 0), - thickness = SIMP(statut='o', typ='R', val_min = 0), - number_elements = SIMP(statut='o', typ='I', val_min = 0), - ), - type_experience = SIMP(statut='o', typ='TXM', - into=['tension','creep','relaxation','cyclic','cyclic_stab','tube']), -) - - -TEXTE_NEW_JDC = 'Experiences()' - - - - diff --git a/Map2/cata_map_cl0d.py b/Map2/cata_map_cl0d.py deleted file mode 100644 index 74f9da34..00000000 --- a/Map2/cata_map_cl0d.py +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright (C) 2008-2018 EDF R&D -# -# This file is part of SALOME ADAO module -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -import os, re -import Accas -from Accas import * -from datetime import datetime -from mapcore import getVersion -from prefs_Map2 import catalogues_param, catalogues_exp - -JdC = JDC_CATA ( - code = 'MAP_c_solver_constitutive_law_0d', - ) -VERSION_CATALOGUE='2018.1.beta' - -def openNewXmlExp(monMC): - - monMC.jdc.appli.appliEficas.maConfiguration.catalogues = catalogues_exp - monMC.jdc.appli.appliEficas.viewmanager.newEditor() - -def openNewXmlParam(monMC): - #monMC.jdc.appli.appliEficas.maConfiguration.catalogues = catalogues_param - monMC.jdc.appli.appliEficas.viewmanager.newEditor() - -# ======================================================================= -# Catalog entry for the MAP function : c_solver_constitutive_law_0d -# ======================================================================= - -MAP_input_file = PROC(nom = 'Input file for MAP', - -# ----------------------------------- - MAP_Version = SIMP(statut='o', typ='TXM', defaut=getVersion()), -# ----------------------------------- - output_directory = SIMP(statut='f', - typ='Repertoire', - defaut=os.path.join( - os.path.dirname(os.getcwd()), - datetime.now().strftime("%Y%m%d-%H%M")), - ), -# ----------------------------------- - constitutive_law_formulation = SIMP(statut='f', typ='TXM'), -# ----------------------------------- - constitutive_law_parameters_status = SIMP(statut='o', typ='TXM', - into=['Existing', 'New'], - #defaut='New' - ), -# ----------------------------------- - b_constitutive_law_parameters_existing = BLOC( - condition="constitutive_law_parameters_status == 'Existing'", - constitutive_law_parameters = SIMP( - statut = "o", - typ = ('Fichier', 'Wrapper Files (*.xml);;All Files (*)'), - ) - ), -# ----------------------------------- - b_constitutive_law_parameters_new = BLOC( - condition="constitutive_law_parameters_status == 'New'", - constitutive_law_parameters = SIMP( - statut = "o", - typ = ('FichierNoAbs', 'Wrapper Files (*.xml);;All Files (*)'), - siValide=openNewXmlParam, - ) - ), - -# ----------------------------------- - user_defined_mfront_file_directory = SIMP(statut='f', - typ='Repertoire', - defaut=os.path.join( - os.getenv('TFELHOME'), - "share/mfront/tests", - "behaviours"), - ), -# ----------------------------------- - exp_filename_list_status = SIMP(statut='o', - typ='TXM', - into=['Existing', 'New'], - #defaut='New' - ), -# ----------------------------------- - b_exp_filename_list_existing = BLOC( - condition="exp_filename_list_status == 'Existing'", - exp_filename_list = SIMP( - statut = "o", - typ = ('Fichier', 'Wrapper Files (*.xml);;All Files (*)'), - ) - ), -# ----------------------------------- - b_exp_filename_list_new = BLOC( - condition="exp_filename_list_status == 'New'", - exp_filename_list = SIMP( - statut = "o", - typ = ('FichierNoAbs', 'Wrapper Files (*.xml);;All Files (*)'), - siValide=openNewXmlExp, - ) - ) -) - - - -TEXTE_NEW_JDC = 'MAP_input_file()' diff --git a/Map2/cata_map_cl0d_exp.py b/Map2/cata_map_cl0d_exp.py deleted file mode 100644 index a0e94680..00000000 --- a/Map2/cata_map_cl0d_exp.py +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright (C) 2008-2018 EDF R&D -# -# This file is part of SALOME ADAO module -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -#import os -#import re -#import Accas -import types -from Accas import * -from mapcore import getVersion - -JdC = JDC_CATA(code='MAP_c_solver_constitutive_law_0d_exp') - -VERSION_CATALOGUE = '2018.1.beta' - -class Tuple: - def __init__(self, ntuple): - self.ntuple = ntuple - - def __convert__(self, valeur): - if type(valeur) == types.StringType: - return None - if len(valeur) != self.ntuple: - return None - return valeur - - def info(self): - return "Tuple de %s elements" % self.ntuple - - __repr__ = info - __str__ = info - - - -# ======================================================================= -# Catalog entry for the experiences plan -# ======================================================================= - -Experiences = PROC(nom='Experiences', - - #----------------------------------- - MAP_Version = SIMP(statut='o', typ='TXM', defaut=getVersion()), - #----------------------------------- - Description = SIMP(statut='f', typ='TXM'), - #----------------------------------- - Experience = FACT(statut='o', max="**", - #----------------------------------- - ExperienceName = SIMP(statut='o', typ='TXM'), - #----------------------------------- - Type = SIMP(statut='o', - typ='TXM', - into=['tension', 'creep', 'relaxation', 'cyclic', - 'cyclic_stab', 'tube', 'tube_ecroui_relax'], - fr = """description en francais""", - ang = """English description"""), - #----------------------------------- - b_type = BLOC(condition="Type == 'cyclic_stab'", - NumberOfCycles = SIMP(statut="o", typ=('I'), defaut=10), - ), - #----------------------------------- - Observations = SIMP(statut='o', - typ='TXM', - into=['File', 'List'], - defaut='File'), - #----------------------------------- - b_obs_file = BLOC(condition="Observations == 'File'", - ObservationsFilename = SIMP( - statut="o", - typ=('Fichier', - 'Wrapper Files (*.edf);;All Files (*)'), - ), - ), - #----------------------------------- - b_obs_list = BLOC(condition="Observations == 'List'", - ObservationsList = SIMP( - fenetreIhm='Tableau', - homo=('TIME', 'DATA'), - statut='o', - min=2, - max='**', - typ=Tuple(2), - validators=VerifTypeTuple(('R', 'R')), - ), - ), - #----------------------------------- - Geometry = FACT(statut='f', - #----------------------------------- - Height = SIMP(statut='o', typ='R', val_min=0), - #----------------------------------- - Radius = SIMP(statut='o', typ='R', val_min=0), - ), - #----------------------------------- - InitialState = FACT(statut='f', - #----------------------------------- - InternalStateVariable = FACT(statut='o', max="**", - #----------------------------------- - InternalStateVariableName = SIMP(statut='o', typ='TXM'), - ), - ), - #----------------------------------- - ExperimentalConditions = FACT(statut='f', - #----------------------------------- - PrescribedThermodynamicStateVariable = FACT(statut='o', max="**", - #----------------------------------- - VariableName = SIMP(statut='o', typ='TXM'), - Source = SIMP(statut='o', - typ='TXM', - into=['File','List'], - defaut='File'), - #----------------------------------- - b_source = BLOC(condition="Source == 'File'", - Filename = SIMP( - statut = "o", - typ = ('Fichier', - 'Wrapper Files (*.edf);;All Files (*)'), - ), - ), - #----------------------------------- - b_obs_list = BLOC(condition="Source == 'List'", - List = SIMP( - fenetreIhm='Tableau', - homo=('TIME', 'DATA'), - statut='o', - min=2, - max='**', - typ=Tuple(2), - validators=VerifTypeTuple(('R', 'R')), - ), - ), - ), - ), - #----------------------------------- - PreProcessing = FACT(statut='o', - #----------------------------------- - AssossiatedSimulationStepNumber = SIMP(statut='o', - typ='I', - val_min=0), - ), - #----------------------------------- - PostProcessing = FACT(statut='f', - #----------------------------------- - PrintStateVariable = FACT(statut='f', max="**", - #----------------------------------- - PostProcessingVariableName = SIMP(statut='o', typ='TXM'), - ), - ) - ) -) - -TEXTE_NEW_JDC = 'Experiences()' diff --git a/Map2/cata_map_cl0d_param.py b/Map2/cata_map_cl0d_param.py deleted file mode 100644 index f52b365b..00000000 --- a/Map2/cata_map_cl0d_param.py +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright (C) 2008-2018 EDF R&D -# -# This file is part of SALOME ADAO module -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -import os, re -import Accas -from Accas import * -from mapcore import getVersion - -JdC = JDC_CATA ( - code = 'MAP_c_solver_constitutive_law_0d_param', - ) -VERSION_CATALOGUE='2018.1.beta' - -# ======================================================================= -# Catalog entry for the list of material parameters -# ======================================================================= - -Parameters_list = PROC(nom = 'List of material parameters', - -# ----------------------------------- - MAP_Version = SIMP(statut='o', typ='TXM', defaut=getVersion()), -# ----------------------------------- - Description = SIMP(statut='f', typ='TXM', defaut=''), -# ----------------------------------- - Law = SIMP(statut='o', typ='TXM', defaut=''), -# ----------------------------------- - Parameter = FACT(statut='o', max="**", -# ----------------------------------- - Name = SIMP (statut='o', typ='TXM'), -# ----------------------------------- - Type = SIMP(statut='o', typ='TXM', into=["MaterialProperty", - "ExternalStateVariable", - "Parameter", "comm"]), -# ----------------------------------- - Value = SIMP(statut='o', typ='R'), -# ----------------------------------- - Adjustement = SIMP(statut='o', typ=bool), # TODO: case a cocher ou decocher -# ----------------------------------- - Lower_bound = SIMP(statut='f', typ='R', val_min=0), #TODO: rule: inf < sup -# ----------------------------------- - Upper_bound = SIMP(statut='f', typ='R', val_min=0), #TODO: rule: inf < sup - ), -) - -TEXTE_NEW_JDC = 'Parameters_list()' - - - diff --git a/Map2/configuration_Map2.py b/Map2/configuration_Map2.py deleted file mode 100644 index 6a8cc458..00000000 --- a/Map2/configuration_Map2.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# maConfiguration MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== -""" - Ce module sert pour charger les paramètres de configuration d'EFICAS -""" -# Modules Python -from InterfaceQT4 import configuration -import os - - -class CONFIG(configuration.configBase): - - #----------------------------------- - def __init__(self,appli,repIni): - #----------------------------------- - - self.labels_user=['catalogues','lang'] - self.labels_eficas=['lang','rep_cata','catalogues'] - self.afficheOptionnelVide=True - configuration.configBase.__init__(self,appli,repIni) - - -def make_config(appli,rep): - return CONFIG(appli,rep) - diff --git a/Map2/prefs.py b/Map2/prefs.py deleted file mode 100644 index cd461d97..00000000 --- a/Map2/prefs.py +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (C) 2007-2012 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# Voici mon commentaire - -code="Map2" -import sys, os -if os.path.dirname(os.path.abspath(__file__)) not in sys.path : - sys.path.insert(0,os.path.dirname(os.path.abspath(__file__))) diff --git a/Map2/prefs_Map2.py b/Map2/prefs_Map2.py deleted file mode 100644 index 417520c4..00000000 --- a/Map2/prefs_Map2.py +++ /dev/null @@ -1,58 +0,0 @@ -# -*- coding: utf-8 -*- -# maConfiguration MANAGEMENT OF EDF VERSION -# ====================================================================== -# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# -# -# ====================================================================== - -import os,sys -# repIni sert a localiser le fichier editeur.ini -# Obligatoire -repIni=os.path.dirname(os.path.abspath(__file__)) -INSTALLDIR=os.path.join(repIni,'..') -sys.path[:0]=[INSTALLDIR] - - -# lang indique la langue utilisee pour les chaines d'aide : fr ou ang -lang='fr' - -# Codage des strings qui accepte les accents (en remplacement de 'ascii') -encoding='iso-8859-1' - -# -#typeDeCata='XML' -catalogues=( - ('Map2','MAP file',os.path.join(repIni,'cata_map_cl0d.py'),'python','python'), - ('Map2','Experiences plan',os.path.join(repIni,'cata_map_cl0d_exp.py'),'python','python'), - ('Map2','Material parameters',os.path.join(repIni,'cata_map_cl0d_param.py'),'python','python'), - -) -catalogues_exp=( - ('Map2','Experiences plan',os.path.join(repIni,'cata_map_cl0d_exp.py'),'python','python'), -) -catalogues_param=( - ('Map2','Material parameters',os.path.join(repIni,'cata_map_cl0d_param.py'),'python','python'), -) -#nombreDeBoutonParLigne=4 -simpleClic=True -closeFrameRechercheCommande=True -boutonDsMenuBar=False -closeArbre=True -afficheListesPliees=False -afficheCommandesPliees = False -#dumpXSD=True -#afficheIhm=False diff --git a/Map2/properties.py b/Map2/properties.py deleted file mode 100644 index 1d328a46..00000000 --- a/Map2/properties.py +++ /dev/null @@ -1,24 +0,0 @@ -#@ MODIF properties Accas DATE 11/06/2008 AUTEUR aster M.ADMINISTRATEUR -# RESPONSABLE D6BHHHH J-P.LEFEBVRE -# ====================================================================== -# COPYRIGHT (C) 1991 - 2001 EDF R&D WWW.CODE-ASTER.ORG -# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY -# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY -# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR -# (AT YOUR OPTION) ANY LATER VERSION. -# -# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT -# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU -# GENERAL PUBLIC LICENSE FOR MORE DETAILS. -# -# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE -# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, -# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. -# ====================================================================== -# IDENTIFICATION DU GESTIONNAIRE DE COMMANDE ACCAS A PARTIR -# DE LA VERSION DU CODE_ASTER ASSOCIE -#---------------------------------------------------------------------- -version = "1.2" -date = "25/05/2010" -exploit = False diff --git a/Map2/qtEficasMap.py b/Map2/qtEficasMap.py deleted file mode 100755 index 91140d97..00000000 --- a/Map2/qtEficasMap.py +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -""" - Ce module sert a lancer EFICAS configure pour MAP -""" -# Modules Python -# Modules Eficas -import prefs -name='prefs_'+prefs.code -__import__(name) - -import sys -reload(sys) -sys.setdefaultencoding('latin1') -import os -sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) - -import prefs -from InterfaceQT4 import eficas_go -eficas_go.lanceEficas(code=prefs.code)