From 53130a78c4a30c74b0f310910376057888199838 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Fri, 26 Oct 2012 14:32:16 +0200 Subject: [PATCH] Updating default value for operator definition --- src/daSalome/daYacsSchemaCreator/infos_daComposant.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2