interfaceName ):
debug("Creating ADAO component instance", "ENGINE")
SALOME_ComponentPy.SALOME_ComponentPy_i.__init__(self, orb, poa,
- contID, containerName, instanceName, interfaceName, 0)
+ contID, containerName, instanceName, interfaceName)
SALOME_DriverPy.SALOME_DriverPy_i.__init__(self, interfaceName)
# On stocke dans l'attribut _naming_service, une ref sur le Naming Service
try:
import libYACS_Swig
yacs_swig = libYACS_Swig.YACS_Swig()
- yacs_swig.loadSchema(self.yacs_filename, 1, 1)
+ #~ yacs_swig.loadSchema(self.yacs_filename, 1, 1)
+ yacs_swig.loadSchema(self.yacs_filename, True, True)
except:
msg = "Please install YACS module, error was: \n"
msg += traceback.format_exc()
name = "Execute" + study_config["Algorithm"]
algLib = "daYacsIntegration.py"
factoryName = "AssimilationAlgorithm_asynch"
- optimizer_node = runtime.createOptimizerLoop(name, algLib, factoryName, "")
+ #~ optimizer_node = runtime.createOptimizerLoop(name, algLib, factoryName, "")
+ optimizer_node = runtime.createOptimizerLoop(name, algLib, factoryName, True)
compute_bloc.edAddChild(optimizer_node)
ADAO_Case.edAddDFLink(CAS_node.getOutputPort("Study"), optimizer_node.edGetAlgoInitPort())