Salome HOME
Updating module version information
authorJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Mon, 24 Jan 2022 11:03:43 +0000 (12:03 +0100)
committerJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Mon, 24 Jan 2022 11:03:43 +0000 (12:03 +0100)
46 files changed:
bin/module_version.py
resources/SalomeApp.xml.in
src/daComposant/daCore/version.py
src/daEficas/CMakeLists.txt
src/daEficas/Makefile.am
src/daEficas/traduitADAOV7_4_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV7_4_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV7_5_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV7_5_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV7_5_1ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV7_5_1ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV7_6_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV7_6_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV7_7_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV7_7_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV7_8_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV7_8_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV8_1_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV8_1_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV8_2_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV8_2_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV8_3_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV8_3_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV8_4_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV8_4_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV8_5_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV8_5_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV8_6_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV8_6_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV9_2_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV9_2_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV9_3_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV9_3_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV9_4_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV9_4_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV9_5_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV9_5_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV9_6_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV9_6_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV9_7_0ToV9_8_0.py [deleted file]
src/daEficas/traduitADAOV9_7_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOV9_8_0ToV9_9_0.py [new file with mode: 0644]
src/daEficas/traduitADAOsansToV9_8_0.py [deleted file]
src/daEficas/traduitADAOsansToV9_9_0.py [new file with mode: 0644]
src/daSalome/__init__.py
src/daSalome/adaoBuilder.py

index b5e6bc31c76c8880d9975120f80074abfa0644a3..861db8602ad22f681e3cb9a984932ad4b300ebe3 100644 (file)
@@ -29,9 +29,10 @@ __author__ = "Jean-Philippe ARGAUD"
 __all__ = []
 
 name     = "ADAO"
-version  = "9.8.0"
-year     = "2021"
-date     = "lundi 01 novembre 2021, 12:12:12 (UTC+0100)"
+version  = "9.9.0"
+year     = "2022"
+date     = "lundi 02 mai 2022, 12:12:12 (UTC+0100)"
 
 longname = name + ", a module for Data Assimilation and Optimization"
 cata     = "V" + version.replace(".","_")
+__version__ = version
index ea6a569f2b662838d1ce561bb58efdfad0e515ae..72d582b8e63c4e6c90cb31fca1c61df9d8d3cfa7 100644 (file)
@@ -28,7 +28,7 @@
     <parameter name="icon"          value="ADAO.png"/>
     <parameter name="library"       value="SalomePyQtGUI"/>
     <parameter name="documentation" value="adao_help"/>
-    <parameter name="version"       value="9.8.0"/>
+    <parameter name="version"       value="9.9.0"/>
     <!-- parameter name="description"   value="Calibrate numerical simulations, interpolate measurements, combine data and calculations, optimize trajectories, verify and validate models"/ -->
     <!-- parameter name="description"   value="Recaler les simulations numériques, interpoler des mesures, combiner des données et des calculs, optimiser des trajectoires, vérifier et valider des modèles"/ -->
   </section>
index 5073eefc83af308ce7ea4e3e1de332a99fd90e1b..e57e2b521520f84b018c4748ba4ab1f11fb62cf1 100644 (file)
@@ -27,9 +27,10 @@ __author__ = "Jean-Philippe ARGAUD"
 __all__ = []
 
 name     = "ADAO"
-version  = "9.8.0"
-year     = "2021"
-date     = "lundi 01 novembre 2021, 12:12:12 (UTC+0100)"
+version  = "9.9.0"
+year     = "2022"
+date     = "lundi 02 mai 2022, 12:12:12 (UTC+0100)"
 
 longname = name + ", a module for Data Assimilation and Optimization"
 cata     = "V" + version.replace(".","_")
+__version__ = version
index 8ca57e806eb32ed24a50a7a40c5a144b129d9c9f..8dd6369916ac4555b0dfa8738886429b37e1b178 100644 (file)
@@ -29,25 +29,26 @@ set(DAEFICAS_FILES
   __init__.py
   ${CMAKE_CURRENT_BINARY_DIR}/prefs_ADAO.py
   prefs.py
-  traduitADAOsansToV9_8_0.py
-  traduitADAOV7_4_0ToV9_8_0.py
-  traduitADAOV7_5_0ToV9_8_0.py
-  traduitADAOV7_5_1ToV9_8_0.py
-  traduitADAOV7_6_0ToV9_8_0.py
-  traduitADAOV7_7_0ToV9_8_0.py
-  traduitADAOV7_8_0ToV9_8_0.py
-  traduitADAOV8_1_0ToV9_8_0.py
-  traduitADAOV8_2_0ToV9_8_0.py
-  traduitADAOV8_3_0ToV9_8_0.py
-  traduitADAOV8_4_0ToV9_8_0.py
-  traduitADAOV8_5_0ToV9_8_0.py
-  traduitADAOV8_6_0ToV9_8_0.py
-  traduitADAOV9_2_0ToV9_8_0.py
-  traduitADAOV9_3_0ToV9_8_0.py
-  traduitADAOV9_4_0ToV9_8_0.py
-  traduitADAOV9_5_0ToV9_8_0.py
-  traduitADAOV9_6_0ToV9_8_0.py
-  traduitADAOV9_7_0ToV9_8_0.py
+  traduitADAOsansToV9_9_0.py
+  traduitADAOV7_4_0ToV9_9_0.py
+  traduitADAOV7_5_0ToV9_9_0.py
+  traduitADAOV7_5_1ToV9_9_0.py
+  traduitADAOV7_6_0ToV9_9_0.py
+  traduitADAOV7_7_0ToV9_9_0.py
+  traduitADAOV7_8_0ToV9_9_0.py
+  traduitADAOV8_1_0ToV9_9_0.py
+  traduitADAOV8_2_0ToV9_9_0.py
+  traduitADAOV8_3_0ToV9_9_0.py
+  traduitADAOV8_4_0ToV9_9_0.py
+  traduitADAOV8_5_0ToV9_9_0.py
+  traduitADAOV8_6_0ToV9_9_0.py
+  traduitADAOV9_2_0ToV9_9_0.py
+  traduitADAOV9_3_0ToV9_9_0.py
+  traduitADAOV9_4_0ToV9_9_0.py
+  traduitADAOV9_5_0ToV9_9_0.py
+  traduitADAOV9_6_0ToV9_9_0.py
+  traduitADAOV9_7_0ToV9_9_0.py
+  traduitADAOV9_8_0ToV9_9_0.py
   )
 
 install(FILES ${DAEFICAS_FILES} DESTINATION "${ADAO_SCRIPT_PYTHON}/adao/daEficas")
index 0174f067dff53db94ed874e65ebbd0c467dd97a7..0d53446278d04e2a2a4c891a2668d8a8a0d0c8aa 100644 (file)
@@ -34,24 +34,25 @@ mypkgpython_PYTHON = \
                __init__.py \
                prefs_ADAO.py \
                prefs.py \
-               traduitADAOsansToV9_8_0.py \
-               traduitADAOV7_4_0ToV9_8_0.py \
-               traduitADAOV7_5_0ToV9_8_0.py \
-               traduitADAOV7_5_1ToV9_8_0.py \
-               traduitADAOV7_6_0ToV9_8_0.py \
-               traduitADAOV7_7_0ToV9_8_0.py \
-               traduitADAOV7_8_0ToV9_8_0.py \
-               traduitADAOV8_1_0ToV9_8_0.py \
-               traduitADAOV8_2_0ToV9_8_0.py \
-               traduitADAOV8_3_0ToV9_8_0.py \
-               traduitADAOV8_4_0ToV9_8_0.py \
-               traduitADAOV8_5_0ToV9_8_0.py \
-               traduitADAOV8_6_0ToV9_8_0.py \
-               traduitADAOV9_2_0ToV9_8_0.py \
-               traduitADAOV9_3_0ToV9_8_0.py \
-               traduitADAOV9_4_0ToV9_8_0.py \
-               traduitADAOV9_5_0ToV9_8_0.py \
-               traduitADAOV9_6_0ToV9_8_0.py \
-               traduitADAOV9_7_0ToV9_8_0.py
+               traduitADAOsansToV9_9_0.py \
+               traduitADAOV7_4_0ToV9_9_0.py \
+               traduitADAOV7_5_0ToV9_9_0.py \
+               traduitADAOV7_5_1ToV9_9_0.py \
+               traduitADAOV7_6_0ToV9_9_0.py \
+               traduitADAOV7_7_0ToV9_9_0.py \
+               traduitADAOV7_8_0ToV9_9_0.py \
+               traduitADAOV8_1_0ToV9_9_0.py \
+               traduitADAOV8_2_0ToV9_9_0.py \
+               traduitADAOV8_3_0ToV9_9_0.py \
+               traduitADAOV8_4_0ToV9_9_0.py \
+               traduitADAOV8_5_0ToV9_9_0.py \
+               traduitADAOV8_6_0ToV9_9_0.py \
+               traduitADAOV9_2_0ToV9_9_0.py \
+               traduitADAOV9_3_0ToV9_9_0.py \
+               traduitADAOV9_4_0ToV9_9_0.py \
+               traduitADAOV9_5_0ToV9_9_0.py \
+               traduitADAOV9_6_0ToV9_9_0.py \
+               traduitADAOV9_7_0ToV9_9_0.py \
+               traduitADAOV9_8_0ToV9_9_0.py
 
 EXTRA_DIST = prefs_ADAO.py.in
diff --git a/src/daEficas/traduitADAOV7_4_0ToV9_8_0.py b/src/daEficas/traduitADAOV7_4_0ToV9_8_0.py
deleted file mode 100644 (file)
index 24d80f9..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    "ASSIMILATION_STUDY",
-    "CHECKING_STUDY",
-    )
-
-dict_erreurs = {
-    "ASSIMILATION_STUDY":"Changements dans l'arbre et dans les noms",
-    "CHECKING_STUDY":"Changements dans l'arbre et dans les noms",
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-
-    #Parse les mocles des commandes
-    parseKeywords(jdc.root)
-    GenereErreurPourCommande(jdc,('Algorithm','AlgorithmParameters','FunctionDict'))
-    # ==========================================================================
-
-    for command in atraiter:
-        # Insere le MC s'il n'existe pas
-        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
-        # Deplace le MC
-        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters", plusieursFois=False)
-        # Renomme le MC
-        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
-        # Renomme le MC
-        renameMotCle(jdc, command, "Study_name", "StudyName")
-        renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "FunctionDict", "ScriptWithSwitch", fsrc )
-    fsrc = re.sub( "FUNCTIONDICT_FILE", "SCRIPTWITHSWITCH_FILE", fsrc )
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV7_4_0ToV9_9_0.py b/src/daEficas/traduitADAOV7_4_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..eb230c2
--- /dev/null
@@ -0,0 +1,117 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    "ASSIMILATION_STUDY",
+    "CHECKING_STUDY",
+    )
+
+dict_erreurs = {
+    "ASSIMILATION_STUDY":"Changements dans l'arbre et dans les noms",
+    "CHECKING_STUDY":"Changements dans l'arbre et dans les noms",
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+
+    #Parse les mocles des commandes
+    parseKeywords(jdc.root)
+    GenereErreurPourCommande(jdc,('Algorithm','AlgorithmParameters','FunctionDict'))
+    # ==========================================================================
+
+    for command in atraiter:
+        # Insere le MC s'il n'existe pas
+        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
+        # Deplace le MC
+        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters", plusieursFois=False)
+        # Renomme le MC
+        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
+        # Renomme le MC
+        renameMotCle(jdc, command, "Study_name", "StudyName")
+        renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "FunctionDict", "ScriptWithSwitch", fsrc )
+    fsrc = re.sub( "FUNCTIONDICT_FILE", "SCRIPTWITHSWITCH_FILE", fsrc )
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV7_5_0ToV9_8_0.py b/src/daEficas/traduitADAOV7_5_0ToV9_8_0.py
deleted file mode 100644 (file)
index 24d80f9..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    "ASSIMILATION_STUDY",
-    "CHECKING_STUDY",
-    )
-
-dict_erreurs = {
-    "ASSIMILATION_STUDY":"Changements dans l'arbre et dans les noms",
-    "CHECKING_STUDY":"Changements dans l'arbre et dans les noms",
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-
-    #Parse les mocles des commandes
-    parseKeywords(jdc.root)
-    GenereErreurPourCommande(jdc,('Algorithm','AlgorithmParameters','FunctionDict'))
-    # ==========================================================================
-
-    for command in atraiter:
-        # Insere le MC s'il n'existe pas
-        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
-        # Deplace le MC
-        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters", plusieursFois=False)
-        # Renomme le MC
-        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
-        # Renomme le MC
-        renameMotCle(jdc, command, "Study_name", "StudyName")
-        renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "FunctionDict", "ScriptWithSwitch", fsrc )
-    fsrc = re.sub( "FUNCTIONDICT_FILE", "SCRIPTWITHSWITCH_FILE", fsrc )
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV7_5_0ToV9_9_0.py b/src/daEficas/traduitADAOV7_5_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..eb230c2
--- /dev/null
@@ -0,0 +1,117 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    "ASSIMILATION_STUDY",
+    "CHECKING_STUDY",
+    )
+
+dict_erreurs = {
+    "ASSIMILATION_STUDY":"Changements dans l'arbre et dans les noms",
+    "CHECKING_STUDY":"Changements dans l'arbre et dans les noms",
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+
+    #Parse les mocles des commandes
+    parseKeywords(jdc.root)
+    GenereErreurPourCommande(jdc,('Algorithm','AlgorithmParameters','FunctionDict'))
+    # ==========================================================================
+
+    for command in atraiter:
+        # Insere le MC s'il n'existe pas
+        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
+        # Deplace le MC
+        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters", plusieursFois=False)
+        # Renomme le MC
+        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
+        # Renomme le MC
+        renameMotCle(jdc, command, "Study_name", "StudyName")
+        renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "FunctionDict", "ScriptWithSwitch", fsrc )
+    fsrc = re.sub( "FUNCTIONDICT_FILE", "SCRIPTWITHSWITCH_FILE", fsrc )
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV7_5_1ToV9_8_0.py b/src/daEficas/traduitADAOV7_5_1ToV9_8_0.py
deleted file mode 100644 (file)
index 24d80f9..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    "ASSIMILATION_STUDY",
-    "CHECKING_STUDY",
-    )
-
-dict_erreurs = {
-    "ASSIMILATION_STUDY":"Changements dans l'arbre et dans les noms",
-    "CHECKING_STUDY":"Changements dans l'arbre et dans les noms",
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-
-    #Parse les mocles des commandes
-    parseKeywords(jdc.root)
-    GenereErreurPourCommande(jdc,('Algorithm','AlgorithmParameters','FunctionDict'))
-    # ==========================================================================
-
-    for command in atraiter:
-        # Insere le MC s'il n'existe pas
-        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
-        # Deplace le MC
-        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters", plusieursFois=False)
-        # Renomme le MC
-        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
-        # Renomme le MC
-        renameMotCle(jdc, command, "Study_name", "StudyName")
-        renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "FunctionDict", "ScriptWithSwitch", fsrc )
-    fsrc = re.sub( "FUNCTIONDICT_FILE", "SCRIPTWITHSWITCH_FILE", fsrc )
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV7_5_1ToV9_9_0.py b/src/daEficas/traduitADAOV7_5_1ToV9_9_0.py
new file mode 100644 (file)
index 0000000..eb230c2
--- /dev/null
@@ -0,0 +1,117 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    "ASSIMILATION_STUDY",
+    "CHECKING_STUDY",
+    )
+
+dict_erreurs = {
+    "ASSIMILATION_STUDY":"Changements dans l'arbre et dans les noms",
+    "CHECKING_STUDY":"Changements dans l'arbre et dans les noms",
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+
+    #Parse les mocles des commandes
+    parseKeywords(jdc.root)
+    GenereErreurPourCommande(jdc,('Algorithm','AlgorithmParameters','FunctionDict'))
+    # ==========================================================================
+
+    for command in atraiter:
+        # Insere le MC s'il n'existe pas
+        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
+        # Deplace le MC
+        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters", plusieursFois=False)
+        # Renomme le MC
+        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
+        # Renomme le MC
+        renameMotCle(jdc, command, "Study_name", "StudyName")
+        renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "FunctionDict", "ScriptWithSwitch", fsrc )
+    fsrc = re.sub( "FUNCTIONDICT_FILE", "SCRIPTWITHSWITCH_FILE", fsrc )
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV7_6_0ToV9_8_0.py b/src/daEficas/traduitADAOV7_6_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV7_6_0ToV9_9_0.py b/src/daEficas/traduitADAOV7_6_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV7_7_0ToV9_8_0.py b/src/daEficas/traduitADAOV7_7_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV7_7_0ToV9_9_0.py b/src/daEficas/traduitADAOV7_7_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV7_8_0ToV9_8_0.py b/src/daEficas/traduitADAOV7_8_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV7_8_0ToV9_9_0.py b/src/daEficas/traduitADAOV7_8_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV8_1_0ToV9_8_0.py b/src/daEficas/traduitADAOV8_1_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV8_1_0ToV9_9_0.py b/src/daEficas/traduitADAOV8_1_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV8_2_0ToV9_8_0.py b/src/daEficas/traduitADAOV8_2_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV8_2_0ToV9_9_0.py b/src/daEficas/traduitADAOV8_2_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV8_3_0ToV9_8_0.py b/src/daEficas/traduitADAOV8_3_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV8_3_0ToV9_9_0.py b/src/daEficas/traduitADAOV8_3_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV8_4_0ToV9_8_0.py b/src/daEficas/traduitADAOV8_4_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV8_4_0ToV9_9_0.py b/src/daEficas/traduitADAOV8_4_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV8_5_0ToV9_8_0.py b/src/daEficas/traduitADAOV8_5_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV8_5_0ToV9_9_0.py b/src/daEficas/traduitADAOV8_5_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV8_6_0ToV9_8_0.py b/src/daEficas/traduitADAOV8_6_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV8_6_0ToV9_9_0.py b/src/daEficas/traduitADAOV8_6_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV9_2_0ToV9_8_0.py b/src/daEficas/traduitADAOV9_2_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV9_2_0ToV9_9_0.py b/src/daEficas/traduitADAOV9_2_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV9_3_0ToV9_8_0.py b/src/daEficas/traduitADAOV9_3_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV9_3_0ToV9_9_0.py b/src/daEficas/traduitADAOV9_3_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV9_4_0ToV9_8_0.py b/src/daEficas/traduitADAOV9_4_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV9_4_0ToV9_9_0.py b/src/daEficas/traduitADAOV9_4_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV9_5_0ToV9_8_0.py b/src/daEficas/traduitADAOV9_5_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV9_5_0ToV9_9_0.py b/src/daEficas/traduitADAOV9_5_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV9_6_0ToV9_8_0.py b/src/daEficas/traduitADAOV9_6_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV9_6_0ToV9_9_0.py b/src/daEficas/traduitADAOV9_6_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV9_7_0ToV9_8_0.py b/src/daEficas/traduitADAOV9_7_0ToV9_8_0.py
deleted file mode 100644 (file)
index 0a16ea8..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    )
-
-dict_erreurs = {
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-    # ==========================================================================
-
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOV9_7_0ToV9_9_0.py b/src/daEficas/traduitADAOV9_7_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOV9_8_0ToV9_9_0.py b/src/daEficas/traduitADAOV9_8_0ToV9_9_0.py
new file mode 100644 (file)
index 0000000..72b96e8
--- /dev/null
@@ -0,0 +1,97 @@
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    )
+
+dict_erreurs = {
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+    # ==========================================================================
+
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
diff --git a/src/daEficas/traduitADAOsansToV9_8_0.py b/src/daEficas/traduitADAOsansToV9_8_0.py
deleted file mode 100644 (file)
index d8718da..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-#-*- coding: utf-8 -*-
-#
-# 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
-#
-# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
-
-import argparse
-import sys
-import re
-
-import Traducteur.log as log
-from Traducteur.load         import getJDC, getJDCFromTexte
-from Traducteur.mocles       import parseKeywords
-from Traducteur.dictErreurs  import GenereErreurPourCommande
-from Traducteur.inseremocle  import *
-from Traducteur.movemocle    import *
-from Traducteur.renamemocle  import *
-
-version_out = "V9_8_0"
-
-usage="""Usage: python %(prog)s [args]
-
-Typical use is:
-  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
-
-atraiter = (
-    "ASSIMILATION_STUDY",
-    "CHECKING_STUDY",
-    )
-
-dict_erreurs = {
-    "ASSIMILATION_STUDY":"Changements dans l'arbre et dans les noms",
-    "CHECKING_STUDY":"Changements dans l'arbre et dans les noms",
-    }
-
-sys.dict_erreurs=dict_erreurs
-
-def traduc(infile=None,outfile=None,texte=None,flog=None):
-    hdlr = log.initialise(flog)
-    if infile is not None:
-        jdc  = getJDC(infile,atraiter)
-    elif texte is not None:
-        jdc  = getJDCFromTexte(texte,atraiter)
-    else:
-        raise ValueError("Traduction du JDC impossible")
-
-    #Parse les mocles des commandes
-    parseKeywords(jdc.root)
-    GenereErreurPourCommande(jdc,('Algorithm','AlgorithmParameters','FunctionDict'))
-    # ==========================================================================
-
-    for command in atraiter:
-        # Insere le MC s'il n'existe pas
-        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
-        # Deplace le MC
-        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters", plusieursFois=False)
-        # Renomme le MC
-        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
-        # Renomme le MC
-        renameMotCle(jdc, command, "Study_name", "StudyName")
-        renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
-
-    # ==========================================================================
-    fsrc = jdc.getSource()
-    fsrc = re.sub( "FunctionDict", "ScriptWithSwitch", fsrc )
-    fsrc = re.sub( "FUNCTIONDICT_FILE", "SCRIPTWITHSWITCH_FILE", fsrc )
-    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
-    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
-    #
-    log.ferme(hdlr)
-    if outfile is not None:
-        with open(outfile,'w') as f:
-            f.write( fsrc )
-    else:
-        return fsrc
-
-class MonTraducteur:
-    def __init__(self,texte):
-        self.__texte = str(texte)
-    def traduit(self):
-        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
-
-def main():
-    parser = argparse.ArgumentParser(usage=usage)
-
-    parser.add_argument('-i','--infile', dest="infile",
-        help="Le fichier COMM en entree, a traduire")
-    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
-        help="Le fichier COMM en sortie, traduit")
-
-    args = parser.parse_args()
-    if len(args.infile) == 0:
-        print("")
-        parser.print_help()
-        print("")
-        sys.exit(1)
-
-    traduc(args.infile,args.outfile)
-
-if __name__ == '__main__':
-    main()
diff --git a/src/daEficas/traduitADAOsansToV9_9_0.py b/src/daEficas/traduitADAOsansToV9_9_0.py
new file mode 100644 (file)
index 0000000..f6da179
--- /dev/null
@@ -0,0 +1,117 @@
+#-*- coding: utf-8 -*-
+#
+# Copyright (C) 2008-2022 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
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+import argparse
+import sys
+import re
+
+import Traducteur.log as log
+from Traducteur.load         import getJDC, getJDCFromTexte
+from Traducteur.mocles       import parseKeywords
+from Traducteur.dictErreurs  import GenereErreurPourCommande
+from Traducteur.inseremocle  import *
+from Traducteur.movemocle    import *
+from Traducteur.renamemocle  import *
+
+version_out = "V9_9_0"
+
+usage="""Usage: python %(prog)s [args]
+
+Typical use is:
+  python %(prog)s --infile=xxxx.comm --outfile=yyyy.comm"""
+
+atraiter = (
+    "ASSIMILATION_STUDY",
+    "CHECKING_STUDY",
+    )
+
+dict_erreurs = {
+    "ASSIMILATION_STUDY":"Changements dans l'arbre et dans les noms",
+    "CHECKING_STUDY":"Changements dans l'arbre et dans les noms",
+    }
+
+sys.dict_erreurs=dict_erreurs
+
+def traduc(infile=None,outfile=None,texte=None,flog=None):
+    hdlr = log.initialise(flog)
+    if infile is not None:
+        jdc  = getJDC(infile,atraiter)
+    elif texte is not None:
+        jdc  = getJDCFromTexte(texte,atraiter)
+    else:
+        raise ValueError("Traduction du JDC impossible")
+
+    #Parse les mocles des commandes
+    parseKeywords(jdc.root)
+    GenereErreurPourCommande(jdc,('Algorithm','AlgorithmParameters','FunctionDict'))
+    # ==========================================================================
+
+    for command in atraiter:
+        # Insere le MC s'il n'existe pas
+        chercheOperInsereFacteurSiRegle(jdc, command, "AlgorithmParameters",((("AlgorithmParameters",),"nexistepasMCFParmi"),))
+        # Deplace le MC
+        moveMotClefInOperToFact(jdc, command, "Algorithm", "AlgorithmParameters", plusieursFois=False)
+        # Renomme le MC
+        renameMotCleInFact(jdc, command, "AlgorithmParameters", "INPUT_TYPE", "Parameters")
+        # Renomme le MC
+        renameMotCle(jdc, command, "Study_name", "StudyName")
+        renameMotCle(jdc, command, "Study_repertory", "StudyRepertory")
+
+    # ==========================================================================
+    fsrc = jdc.getSource()
+    fsrc = re.sub( "FunctionDict", "ScriptWithSwitch", fsrc )
+    fsrc = re.sub( "FUNCTIONDICT_FILE", "SCRIPTWITHSWITCH_FILE", fsrc )
+    fsrc = re.sub( "#VERSION_CATALOGUE:.*:FIN VERSION_CATALOGUE", "#VERSION_CATALOGUE:%s:FIN VERSION_CATALOGUE"%version_out, fsrc)
+    fsrc = re.sub( "#CHECKSUM.*FIN CHECKSUM", "", fsrc )
+    #
+    log.ferme(hdlr)
+    if outfile is not None:
+        with open(outfile,'w') as f:
+            f.write( fsrc )
+    else:
+        return fsrc
+
+class MonTraducteur:
+    def __init__(self,texte):
+        self.__texte = str(texte)
+    def traduit(self):
+        return traduc(infile=None,outfile=None,texte=self.__texte,flog=None)
+
+def main():
+    parser = argparse.ArgumentParser(usage=usage)
+
+    parser.add_argument('-i','--infile', dest="infile",
+        help="Le fichier COMM en entree, a traduire")
+    parser.add_argument('-o','--outfile', dest="outfile", default='out.comm',
+        help="Le fichier COMM en sortie, traduit")
+
+    args = parser.parse_args()
+    if len(args.infile) == 0:
+        print("")
+        parser.print_help()
+        print("")
+        sys.exit(1)
+
+    traduc(args.infile,args.outfile)
+
+if __name__ == '__main__':
+    main()
index 685a91626a3424c2edc7c1e99569250462814458..6a77617137f7bc13ed83d59101acbe65e576e37a 100644 (file)
@@ -127,7 +127,7 @@ import os, sys, logging
 adao_py_dir = os.path.abspath(os.path.dirname(__file__))
 sys.path.insert(0, adao_py_dir)
 
-from daCore.version import name, version, year, date
+from daCore.version import name, version, year, date, __version__
 try:
     from daYacsIntegration.daOptimizerLoop import *
 except:
index ba0964d1b955ed7463df86db3e8f574ca42045e8..4f955a61e83381a6cab6ee18a36e33e42d0b31a3 100644 (file)
@@ -48,7 +48,7 @@ __author__ = "Jean-Philippe ARGAUD"
 __all__ = ["New"]
 
 from daCore.Aidsm import Aidsm as _Aidsm
-from daCore.version import name, version, year, date
+from daCore.version import name, version, year, date, __version__
 
 # ==============================================================================
 class New(_Aidsm):