From: André Ribes Date: Fri, 4 May 2012 09:23:05 +0000 (+0200) Subject: Bug Fix avec UserDataInit + UserPostAnalysis X-Git-Tag: V6_5_0^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f374c50c8192ceec54fe605ef6cf93e2012d2ff3;p=modules%2Fadao.git Bug Fix avec UserDataInit + UserPostAnalysis --- 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"))