import string
import StringIO
+import module_version
+
logging.basicConfig(level=logging.WARNING)
#----------- Templates Part ---------------#
import Accas
from Accas import *
-JdC = JDC_CATA (code = 'ADAO',
+JdC = JDC_CATA (code = '%s',
execmodul = None,
regles = ( AU_MOINS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY'), AU_PLUS_UN ('ASSIMILATION_STUDY','CHECKING_STUDY')),
)
-"""
+VERSION_CATALOGUE='%s'
+"""%(module_version.name,module_version.version)
data_method = """
def F_${data_name}(statut) : return FACT(statut = statut,
repetable = "n",
Study_name = SIMP(statut="o", typ = "TXM", defaut="ADAO Calculation Case"),
Study_repertory = SIMP(statut="f", typ = "Repertoire", min=1, max=1),
- Debug = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0),
+ Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0),
Algorithm = SIMP(statut="o", typ = "TXM", into=(${algos_names})),
Background = F_Background("o"),
BackgroundError = F_BackgroundError("o"),
repetable = "n",
Study_name = SIMP(statut="o", typ = "TXM", defaut="ADAO Checking Case"),
Study_repertory = SIMP(statut="f", typ = "Repertoire", min=1, max=1),
- Debug = SIMP(statut="o", typ = "I", into=(0, 1), defaut=0),
+ Debug = SIMP(statut="f", typ = "I", into=(0, 1), defaut=0),
Algorithm = SIMP(statut="o", typ = "TXM", into=(${check_names})),
CheckingPoint = F_CheckingPoint("o"),
ObservationOperator = F_ObservationOperator("o"),
include $(top_srcdir)/adm_local/make_common_starter.am
-bin_SCRIPTS = AdaoYacsSchemaCreator.py qtEficas_adao_study.py AdaoCatalogGenerator.py
+bin_SCRIPTS = AdaoYacsSchemaCreator.py qtEficas_adao_study.py # AdaoCatalogGenerator.py module_version.py
-EXTRA_DIST = AdaoYacsSchemaCreator.py qtEficas_adao_study.py.in AdaoCatalogGenerator.py
+EXTRA_DIST = AdaoYacsSchemaCreator.py qtEficas_adao_study.py.in # AdaoCatalogGenerator.py module_version.py
install-data-hook:
@export PYTHONPATH=$(DESTDIR)${salomepythondir}:${PYTHONPATH} && python $(top_srcdir)/bin/AdaoCatalogGenerator.py $(DESTDIR)${salomepythondir}/daEficas ADAO_Cata_V0.py
--- /dev/null
+#-*-coding:iso-8859-1-*-
+#
+# Copyright (C) 2008-2014 EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
+
+name = "ADAO"
+version = "V7_main"
+date = ""
# Author: André Ribes, andre.ribes@edf.fr, EDF R&D
"""
- Ce module sert à lancer EFICAS pour Adao
+ Ce module sert a lancer EFICAS pour Adao
"""
import sys
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
+sys.path.append(os.path.abspath("../../bin"))
+import module_version
# -- General configuration -----------------------------------------------------
master_doc = 'index'
# General information about the project.
-project = u'ADAO'
+project = u'%s'%module_version.name
copyright = u'2008-2014, Jean-Philippe ARGAUD'
# The version info for the project you're documenting, acts as replacement for
# The short X.Y version.
version = '7.4.0'
version = '7\_main'
+version = '%s'%module_version.version.replace('_','\_')
# The full version, including alpha/beta/rc tags.
release = '7.4.0'
release = '7\_main'
+release = '%s'%module_version.version.replace('_','\_')
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
- ('index', 'ADAO.tex', u'ADAO Documentation',
+ ('index', 'ADAO.tex', u'ADAO documentation',
u'Jean-Philippe ARGAUD', 'manual'),
]
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
+sys.path.append(os.path.abspath("../../bin"))
+import module_version
# -- General configuration -----------------------------------------------------
master_doc = 'index'
# General information about the project.
-project = u'ADAO'
+project = u'%s'%module_version.name
copyright = u'2008-2014, Jean-Philippe ARGAUD'
# The version info for the project you're documenting, acts as replacement for
# The short X.Y version.
version = '7.4.0'
version = '7\_main'
+version = '%s'%module_version.version.replace('_','\_')
# The full version, including alpha/beta/rc tags.
release = '7.4.0'
release = '7\_main'
+release = '%s'%module_version.version.replace('_','\_')
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-html_title = "Documentation ADAO v7_main"
+html_title = "Documentation %s %s"%(module_version.name,module_version.version)
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
<parameter name="icon" value="ADAO.png"/>
<parameter name="library" value="SalomePyQtGUI"/>
<parameter name="documentation" value="adao_help"/>
- <parameter name="version" value="7.3.0"/>
+ <parameter name="version" value="7_main"/>
</section>
<section name="resources">
<!-- Module resources -->