]> SALOME platform Git repositories - samples/genericsolver.git/commitdiff
Salome HOME
Add log for execution mode
authorRenaud Barate <renaud.barate@edf.fr>
Wed, 23 May 2012 15:42:46 +0000 (15:42 +0000)
committerRenaud Barate <renaud.barate@edf.fr>
Wed, 23 May 2012 15:42:46 +0000 (15:42 +0000)
src/GENERICSOLVER/DEVIATION.py

index 7685e3924663dc69b16c2fb6270531dc7e90acbc..f65373f597a7f73dc8e23292df042094685931d2 100644 (file)
@@ -164,12 +164,16 @@ class DEVIATION(GENERICSOLVER_ORB__POA.DEVIATION_Gen,
             logger.debug("outputVarList: %s" % paramInput.outputVarList)
             logger.debug("inputValues: %s" % paramInput.inputValues)
 
-            # Get id
+            # Get id and execution mode
             id = ""
+            exec_mode = ""
             for parameter in paramInput.specificParameters:
                 if parameter.name == "id":
                     id = parameter.value
+                if parameter.name == "executionMode":
+                    exec_mode = parameter.value
             logger.debug("ID: %s" % id)
+            logger.debug("Execution mode: %s" % exec_mode)
 
             inputDict = create_input_dict(self.deterministicValues, paramInput)
             logger.debug("inputDict = %s" % inputDict)