Salome HOME
projects
/
modules
/
adao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation and reporting improvements
[modules/adao.git]
/
src
/
daComposant
/
daAlgorithms
/
ObserverTest.py
diff --git
a/src/daComposant/daAlgorithms/ObserverTest.py
b/src/daComposant/daAlgorithms/ObserverTest.py
index e5a6efeb24d09f6eb0c34f186bbe2d6fc7b47494..39446d279573ed18997b1cba9aa6d4bbf2bc3418 100644
(file)
--- a/
src/daComposant/daAlgorithms/ObserverTest.py
+++ b/
src/daComposant/daAlgorithms/ObserverTest.py
@@
-1,6
+1,6
@@
# -*- coding: utf-8 -*-
#
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2008-20
19
EDF R&D
+# Copyright (C) 2008-20
21
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
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-28,9
+28,12
@@
import numpy
class ElementaryAlgorithm(BasicObjects.Algorithm):
def __init__(self):
BasicObjects.Algorithm.__init__(self, "OBSERVERTEST")
class ElementaryAlgorithm(BasicObjects.Algorithm):
def __init__(self):
BasicObjects.Algorithm.__init__(self, "OBSERVERTEST")
+ self.setAttributes(tags=(
+ "Checking",
+ ))
def run(self, Xb=None, Y=None, U=None, HO=None, EM=None, CM=None, R=None, B=None, Q=None, Parameters=None):
def run(self, Xb=None, Y=None, U=None, HO=None, EM=None, CM=None, R=None, B=None, Q=None, Parameters=None):
- self._pre_run(Parameters, Xb, Y, R, B, Q)
+ self._pre_run(Parameters, Xb, Y,
U, HO, EM, CM,
R, B, Q)
print("Results of observer check on all potential variables or commands,")
print(" only activated on selected ones by explicit association.")
print("")
print("Results of observer check on all potential variables or commands,")
print(" only activated on selected ones by explicit association.")
print("")
@@
-77,4
+80,4
@@
class ElementaryAlgorithm(BasicObjects.Algorithm):
# ==============================================================================
if __name__ == "__main__":
# ==============================================================================
if __name__ == "__main__":
- print('\n AUTODIAGNOSTIC
\n')
+ print('\n AUTODIAGNOSTIC\n')