From: André Date: Thu, 22 Apr 2010 08:08:26 +0000 (+0200) Subject: - Ajout d'un nouveau package X-Git-Tag: V6_4_0rc3~170 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=51dc9279fa12bb53fa1ca77a5398e2b037ad3d5d;p=modules%2Fadao.git - Ajout d'un nouveau package --- diff --git a/src/daSalome/Makefile.am b/src/daSalome/Makefile.am index a28f59e..666e6bf 100644 --- a/src/daSalome/Makefile.am +++ b/src/daSalome/Makefile.am @@ -1,14 +1,16 @@ include $(top_srcdir)/adm_local/make_common_starter.am -EXTRA_DIST = daYacsSchemaCreator +EXTRA_DIST = daYacsSchemaCreator daYacsIntegration DIR = $(top_srcdir)/src/daSalome/ install-data-local: ${mkinstalldirs} $(DESTDIR)$(salomepythondir) cp -R $(DIR)daYacsSchemaCreator $(DESTDIR)$(salomepythondir) + cp -R $(DIR)daYacsIntegration $(DESTDIR)$(salomepythondir) uninstall-local: chmod -R +w $(DESTDIR)$(salomepythondir) rm -rf $(DESTDIR)$(salomepythondir)/daYacsSchemaCreator + rm -rf $(DESTDIR)$(salomepythondir)/daYacsIntegration diff --git a/src/daSalome/daYacsIntegration/__init__.py b/src/daSalome/daYacsIntegration/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/daSalome/daYacsIntegration/adStudy.py b/src/daSalome/daYacsIntegration/adStudy.py new file mode 100644 index 0000000..be70026 --- /dev/null +++ b/src/daSalome/daYacsIntegration/adStudy.py @@ -0,0 +1,14 @@ +#-*-coding:iso-8859-1-*- + +from AssimilationStudy import AssimilationStudy + +class adStudy: + + def __init__(self, name, algorithm): + + self.ADD = AssimilationStudy(name) + self.ADD.setControls() + self.ADD.setAlgorithm(choice="Blue") + + def getAssimilationStudy(): + return self.ADD