From 40b46ea8de8ed19b96220400474718065e5ba498 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Sat, 9 Feb 2019 16:41:46 +0100 Subject: [PATCH] Update internal settings --- src/daComposant/daAlgorithms/AdjointTest.py | 6 +++++- src/daComposant/daAlgorithms/FunctionTest.py | 5 ++++- src/daComposant/daAlgorithms/GradientTest.py | 6 +++++- src/daComposant/daAlgorithms/LinearityTest.py | 6 +++++- src/daComposant/daAlgorithms/SamplingTest.py | 9 ++++++++- src/daComposant/daAlgorithms/TangentTest.py | 6 +++++- 6 files changed, 32 insertions(+), 6 deletions(-) diff --git a/src/daComposant/daAlgorithms/AdjointTest.py b/src/daComposant/daAlgorithms/AdjointTest.py index 2d5e075..c95950e 100644 --- a/src/daComposant/daAlgorithms/AdjointTest.py +++ b/src/daComposant/daAlgorithms/AdjointTest.py @@ -74,7 +74,11 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): default = [], typecast = tuple, message = "Liste de calculs supplémentaires à stocker et/ou effectuer", - listval = ["CurrentState", "Residu", "SimulatedObservationAtCurrentState"] + listval = [ + "CurrentState", + "Residu", + "SimulatedObservationAtCurrentState", + ] ) self.requireInputArguments( mandatory= ("Xb", "HO" ), diff --git a/src/daComposant/daAlgorithms/FunctionTest.py b/src/daComposant/daAlgorithms/FunctionTest.py index 41d9bad..1a742f3 100644 --- a/src/daComposant/daAlgorithms/FunctionTest.py +++ b/src/daComposant/daAlgorithms/FunctionTest.py @@ -63,7 +63,10 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): default = [], typecast = tuple, message = "Liste de calculs supplémentaires à stocker et/ou effectuer", - listval = ["CurrentState", "SimulatedObservationAtCurrentState"] + listval = [ + "CurrentState", + "SimulatedObservationAtCurrentState", + ] ) self.requireInputArguments( mandatory= ("Xb", "HO"), diff --git a/src/daComposant/daAlgorithms/GradientTest.py b/src/daComposant/daAlgorithms/GradientTest.py index 595fd28..d636c20 100644 --- a/src/daComposant/daAlgorithms/GradientTest.py +++ b/src/daComposant/daAlgorithms/GradientTest.py @@ -100,7 +100,11 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): default = [], typecast = tuple, message = "Liste de calculs supplémentaires à stocker et/ou effectuer", - listval = ["CurrentState", "Residu", "SimulatedObservationAtCurrentState"] + listval = [ + "CurrentState", + "Residu", + "SimulatedObservationAtCurrentState", + ] ) self.requireInputArguments( mandatory= ("Xb", "HO"), diff --git a/src/daComposant/daAlgorithms/LinearityTest.py b/src/daComposant/daAlgorithms/LinearityTest.py index 0633c75..905209d 100644 --- a/src/daComposant/daAlgorithms/LinearityTest.py +++ b/src/daComposant/daAlgorithms/LinearityTest.py @@ -82,7 +82,11 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): default = [], typecast = tuple, message = "Liste de calculs supplémentaires à stocker et/ou effectuer", - listval = ["CurrentState", "Residu", "SimulatedObservationAtCurrentState"] + listval = [ + "CurrentState", + "Residu", + "SimulatedObservationAtCurrentState", + ] ) self.requireInputArguments( mandatory= ("Xb", "HO"), diff --git a/src/daComposant/daAlgorithms/SamplingTest.py b/src/daComposant/daAlgorithms/SamplingTest.py index 9c4cc2b..26a9770 100644 --- a/src/daComposant/daAlgorithms/SamplingTest.py +++ b/src/daComposant/daAlgorithms/SamplingTest.py @@ -74,7 +74,14 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): default = [], typecast = tuple, message = "Liste de calculs supplémentaires à stocker et/ou effectuer", - listval = ["CostFunctionJ", "CostFunctionJb", "CostFunctionJo","CurrentState","InnovationAtCurrentState","SimulatedObservationAtCurrentState"] + listval = [ + "CostFunctionJ", + "CostFunctionJb", + "CostFunctionJo", + "CurrentState", + "InnovationAtCurrentState", + "SimulatedObservationAtCurrentState", + ] ) self.defineRequiredParameter( name = "SetSeed", diff --git a/src/daComposant/daAlgorithms/TangentTest.py b/src/daComposant/daAlgorithms/TangentTest.py index e643c7d..0519c20 100644 --- a/src/daComposant/daAlgorithms/TangentTest.py +++ b/src/daComposant/daAlgorithms/TangentTest.py @@ -82,7 +82,11 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): default = [], typecast = tuple, message = "Liste de calculs supplémentaires à stocker et/ou effectuer", - listval = ["CurrentState", "Residu", "SimulatedObservationAtCurrentState"] + listval = [ + "CurrentState", + "Residu", + "SimulatedObservationAtCurrentState", + ] ) self.requireInputArguments( mandatory= ("Xb", "HO"), -- 2.39.2