From f374c50c8192ceec54fe605ef6cf93e2012d2ff3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Ribes?= Date: Fri, 4 May 2012 11:23:05 +0200 Subject: [PATCH] Bug Fix avec UserDataInit + UserPostAnalysis --- src/daSalome/daYacsSchemaCreator/methods.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daSalome/daYacsSchemaCreator/methods.py b/src/daSalome/daYacsSchemaCreator/methods.py index 08c468b..23effd6 100644 --- a/src/daSalome/daYacsSchemaCreator/methods.py +++ b/src/daSalome/daYacsSchemaCreator/methods.py @@ -405,7 +405,7 @@ def create_yacs_proc(study_config): if "UserPostAnalysis" in init_config["Target"]: node_script = analysis_node.getScript() node_script = "__builtins__[\"init_data\"] = init_data\n" + node_script - analysis_node.setScript(opt_node_script) + analysis_node.setScript(node_script) analysis_node.edAddInputPort("init_data", t_pyobj) proc.edAddDFLink(init_node.getOutputPort("init_data"), analysis_node.getInputPort("init_data")) @@ -442,7 +442,7 @@ def create_yacs_proc(study_config): if "UserPostAnalysis" in init_config["Target"]: node_script = analysis_node.getScript() node_script = "__builtins__[\"init_data\"] = init_data\n" + node_script - analysis_node.setScript(opt_node_script) + analysis_node.setScript(node_script) analysis_node.edAddInputPort("init_data", t_pyobj) proc.edAddDFLink(init_node.getOutputPort("init_data"), analysis_node.getInputPort("init_data")) -- 2.39.2