From 51dc9279fa12bb53fa1ca77a5398e2b037ad3d5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9?= Date: Thu, 22 Apr 2010 10:08:26 +0200 Subject: [PATCH] - Ajout d'un nouveau package --- src/daSalome/Makefile.am | 4 +++- src/daSalome/daYacsIntegration/__init__.py | 0 src/daSalome/daYacsIntegration/adStudy.py | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/daSalome/daYacsIntegration/__init__.py create mode 100644 src/daSalome/daYacsIntegration/adStudy.py 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 -- 2.39.2