]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
Regression AnalysisFile
authorAndré Ribes <andre.ribes@edf.fr>
Fri, 9 Jul 2010 09:42:17 +0000 (11:42 +0200)
committerAndré Ribes <andre.ribes@edf.fr>
Fri, 9 Jul 2010 09:42:17 +0000 (11:42 +0200)
src/daSalome/daYacsSchemaCreator/methods.py

index 56babb6315777f8fc995517afd34b32741a4a6ea..c48e73a69e05544801d0b8b5cb8dbce7813db8df 100644 (file)
@@ -259,7 +259,7 @@ def create_yacs_proc(study_config):
         analysis_node.edAddInputPort("init_data", t_pyobj)
         proc.edAddDFLink(init_node.getOutputPort("init_data"), analysis_node.getInputPort("init_data"))
 
-    elif analysis_config["From"] == "File":
+    elif analysis_config["From"] == "Script":
       factory_analysis_node = catalogAd._nodeMap["SimpleUserAnalysis"]
       analysis_node = factory_analysis_node.cloneNode("User Analysis")
       default_script = analysis_node.getScript()