From: Jean-Philippe ARGAUD Date: Fri, 26 Oct 2012 12:32:16 +0000 (+0200) Subject: Updating default value for operator definition X-Git-Tag: V6_6_0~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=53130a78c4a30c74b0f310910376057888199838;p=modules%2Fadao.git Updating default value for operator definition --- diff --git a/src/daSalome/daYacsSchemaCreator/infos_daComposant.py b/src/daSalome/daYacsSchemaCreator/infos_daComposant.py index 29eba0c..24e20fd 100644 --- a/src/daSalome/daYacsSchemaCreator/infos_daComposant.py +++ b/src/daSalome/daYacsSchemaCreator/infos_daComposant.py @@ -50,7 +50,7 @@ FromNumpyList = {} FromNumpyList["Vector"] = ["String", "Script"] FromNumpyList["VectorSerie"] = ["String", "Script"] FromNumpyList["Matrix"] = ["String", "Script"] -FromNumpyList["Function"] = ["ScriptWithFunctions", "ScriptWithOneFunction", "ScriptWithSwitch", "FunctionDict"] +FromNumpyList["Function"] = ["ScriptWithOneFunction", "ScriptWithFunctions", "ScriptWithSwitch", "FunctionDict"] FromNumpyList["Dict"] = ["Script"] # -- Infos from daAlgorithms -- @@ -134,21 +134,21 @@ AlgoType["QuantileRegression"] = "Optim" # catalogue Eficas # Basic data types -BasicDataInputs = ["String", "Script", "ScriptWithFunctions", "ScriptWithOneFunction", "ScriptWithSwitch", "FunctionDict"] +BasicDataInputs = ["String", "Script", "ScriptWithOneFunction", "ScriptWithFunctions", "ScriptWithSwitch", "FunctionDict"] # Data input dict DataTypeDict = {} DataTypeDict["Vector"] = ["String", "Script"] DataTypeDict["VectorSerie"] = ["String", "Script"] DataTypeDict["Matrix"] = ["String", "Script"] -DataTypeDict["Function"] = ["ScriptWithFunctions", "ScriptWithOneFunction", "ScriptWithSwitch", "FunctionDict"] +DataTypeDict["Function"] = ["ScriptWithOneFunction", "ScriptWithFunctions", "ScriptWithSwitch", "FunctionDict"] DataTypeDict["Dict"] = ["Script"] DataTypeDefaultDict = {} DataTypeDefaultDict["Vector"] = "Script" DataTypeDefaultDict["VectorSerie"] = "Script" DataTypeDefaultDict["Matrix"] = "Script" -DataTypeDefaultDict["Function"] = "ScriptWithFunctions" +DataTypeDefaultDict["Function"] = "ScriptWithOneFunction" DataTypeDefaultDict["Dict"] = "Script" # Assimilation data input