def F_AlgorithmParameters(statut, algos_names, fv=NoCheckInNS) : return FACT(
statut = statut,
Algorithm = SIMP(statut="o", typ = "TXM", into = algos_names ),
- Parameters = SIMP(statut="f", typ = "TXM", into=("Defaults", "Dict") ),
+ Parameters = SIMP(statut="f", typ = "TXM", into=("Defaults", "Dict"), defaut="Defaults"),
Dict = BLOC ( condition = " Parameters == 'Dict' ",
statut="f",
data = F_Dict("o", fv),
# Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
name = "ADAO"
-version = "V8_4_0" # Version pour catalogue, avec des "_" entre les numeros
+version = "V8_5_0" # Version pour catalogue, avec des "_" entre les numeros
date = ""
-year = "2017" # Annee de copyright
+year = "2018" # Annee de copyright
# -*- coding: utf-8 -*-
+#
# Copyright (C) 2008-2017 EDF R&D
#
# This file is part of SALOME ADAO module
# List of directories, relative to source directory, that shouldn't be searched
# for source files.
-exclude_trees = []
+exclude_trees = ['snippets',]
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
# List of directories, relative to source directory, that shouldn't be searched
# for source files.
-exclude_trees = []
+exclude_trees = ['snippets',]
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
<parameter name="icon" value="ADAO.png"/>
<parameter name="library" value="SalomePyQtGUI"/>
<parameter name="documentation" value="adao_help"/>
- <parameter name="version" value="8.4.0"/>
+ <parameter name="version" value="8.5.0"/>
</section>
<section name="resources">
<!-- Module resources -->
else:
allvariables = {}
allvariables.update( {"AlgorithmParameters":self.__adaoObject["AlgorithmParameters"].get()} )
- allvariables.update( self.__adaoObject["AlgorithmParameters"].get() )
+ # allvariables.update( self.__adaoObject["AlgorithmParameters"].get() )
allvariables.update( self.__StoredInputs )
allvariables.pop('Diagnostic', None)
allvariables.pop('Observer', None)
if self.__adaoObject['AlgorithmParameters'].hasObserver( k ):
self.__adaoObject['AlgorithmParameters'].removeObserver( k, "", True )
self.__StoredInputs[k] = self.__adaoObject['AlgorithmParameters'].pop(k, None)
- del self.__adaoObject # Because it breaks pickle in Python 2. Not required for Python 3
- del self.__case # Because it breaks pickle in Python 2. Not required for Python 3
+ if sys.version_info[0] == 2:
+ del self.__adaoObject # Because it breaks pickle in Python 2. Not required for Python 3
+ del self.__case # Because it breaks pickle in Python 2. Not required for Python 3
return 0
# ==============================================================================
__all__ = []
name = "Data Assimilation Package"
-version = "2017.09.30"
-date = "samedi 30 septembre 2017, 12:12:12 (UTC+0100)"
+version = "2018.03.27"
+date = "mardi 27 mars 2018, 12:12:12 (UTC+0100)"