Salome HOME
Documentation update and method improvement
[modules/adao.git] / src / daComposant / daCore / BasicObjects.py
index ce6314fc66a239c8a714ee23cab0ff3b5a8c524e..7977635623a4ae4dd1dded38617be6e5a7663fbb 100644 (file)
@@ -34,7 +34,9 @@ import time
 import numpy
 import warnings
 from functools import partial
-from daCore import Persistence, PlatformInfo, Interfaces
+from daCore import Persistence
+from daCore import PlatformInfo
+from daCore import Interfaces
 from daCore import Templates
 
 # ==============================================================================
@@ -1101,6 +1103,9 @@ class Algorithm(object):
             elif not (listval is not None and __val in listval) and not (listadv is not None and __val in listadv):
                 raise ValueError("The value '%s' is not allowed for the parameter named '%s', it has to be in the list %s."%( __val, __k,listval))
         #
+        if __k in ["SetSeed",]:
+            __val = value
+        #
         return __val
 
     def requireInputArguments(self, mandatory=(), optional=()):