]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
- Ajout d'un nouveau package
authorAndré <andre.ribes@edf.fr>
Thu, 22 Apr 2010 08:08:26 +0000 (10:08 +0200)
committerAndré <andre.ribes@edf.fr>
Thu, 22 Apr 2010 08:08:26 +0000 (10:08 +0200)
src/daSalome/Makefile.am
src/daSalome/daYacsIntegration/__init__.py [new file with mode: 0644]
src/daSalome/daYacsIntegration/adStudy.py [new file with mode: 0644]

index a28f59e15bd6c1e6d080dea5dd01d00d1194dd1b..666e6bf0c30f3a6c9ca47ed4f09666a4c706a29a 100644 (file)
@@ -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 (file)
index 0000000..e69de29
diff --git a/src/daSalome/daYacsIntegration/adStudy.py b/src/daSalome/daYacsIntegration/adStudy.py
new file mode 100644 (file)
index 0000000..be70026
--- /dev/null
@@ -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