]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
Correction de collision
authorJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Thu, 30 Apr 2015 12:19:32 +0000 (14:19 +0200)
committerJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Thu, 30 Apr 2015 12:19:32 +0000 (14:19 +0200)
src/daComposant/daCore/BasicObjects.py

index e5cccdfbfafb973593c9d61d9fd23f67bf023678..345f04bc792b8d07617fd15417838c0545a7aed9 100644 (file)
@@ -318,7 +318,8 @@ class Algorithm:
         return 0
 
     def _post_run(self,_oH=None):
-        if "APosterioriCovariance" in self._parameters["StoreSupplementaryCalculations"]:
+        if self._parameters.has_key("StoreSupplementaryCalculations") and \
+            "APosterioriCovariance" in self._parameters["StoreSupplementaryCalculations"]:
             for _A in self.StoredVariables["APosterioriCovariance"]:
                 if "APosterioriVariances" in self._parameters["StoreSupplementaryCalculations"]:
                     self.StoredVariables["APosterioriVariances"].store( numpy.diag(_A) )