From 49e293d9006d0e5d3bf80773518f13006cbe11c0 Mon Sep 17 00:00:00 2001 From: softir Date: Fri, 13 Dec 2019 08:38:55 +0100 Subject: [PATCH] AT5-256 - Proposed structure for the CSP.LMC Common software project. --- common-package/csplmc-common/CspMaster.py | 0 common-package/csplmc-common/CspSubarray.py | 0 common-package/csplmc-common/README.md | 1 + common-package/csplmc-common/__init__.py | 0 common-package/csplmc-common/pogo/README.md | 1 + common-package/csplmc-common/utils/README.md | 1 + common-package/setup.py | 0 csp-lmc-low/README.md | 0 csp-lmc-mid/README.md | 0 ska_python_skeleton/__init__.py | 9 -------- ska_python_skeleton/ska_python_skeleton.py | 22 -------------------- 11 files changed, 3 insertions(+), 31 deletions(-) create mode 100644 common-package/csplmc-common/CspMaster.py create mode 100644 common-package/csplmc-common/CspSubarray.py create mode 100644 common-package/csplmc-common/README.md create mode 100644 common-package/csplmc-common/__init__.py create mode 100644 common-package/csplmc-common/pogo/README.md create mode 100644 common-package/csplmc-common/utils/README.md create mode 100644 common-package/setup.py create mode 100644 csp-lmc-low/README.md create mode 100644 csp-lmc-mid/README.md delete mode 100644 ska_python_skeleton/__init__.py delete mode 100644 ska_python_skeleton/ska_python_skeleton.py diff --git a/common-package/csplmc-common/CspMaster.py b/common-package/csplmc-common/CspMaster.py new file mode 100644 index 0000000..e69de29 diff --git a/common-package/csplmc-common/CspSubarray.py b/common-package/csplmc-common/CspSubarray.py new file mode 100644 index 0000000..e69de29 diff --git a/common-package/csplmc-common/README.md b/common-package/csplmc-common/README.md new file mode 100644 index 0000000..2d7503d --- /dev/null +++ b/common-package/csplmc-common/README.md @@ -0,0 +1 @@ +CSP.LMC Common Software python code. diff --git a/common-package/csplmc-common/__init__.py b/common-package/csplmc-common/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/common-package/csplmc-common/pogo/README.md b/common-package/csplmc-common/pogo/README.md new file mode 100644 index 0000000..4c91299 --- /dev/null +++ b/common-package/csplmc-common/pogo/README.md @@ -0,0 +1 @@ +Directory to store the POGO files to generate the CSP.LMC Common Classes. diff --git a/common-package/csplmc-common/utils/README.md b/common-package/csplmc-common/utils/README.md new file mode 100644 index 0000000..d3db449 --- /dev/null +++ b/common-package/csplmc-common/utils/README.md @@ -0,0 +1 @@ +Directory to store the files common to the CSP.LMC project. diff --git a/common-package/setup.py b/common-package/setup.py new file mode 100644 index 0000000..e69de29 diff --git a/csp-lmc-low/README.md b/csp-lmc-low/README.md new file mode 100644 index 0000000..e69de29 diff --git a/csp-lmc-mid/README.md b/csp-lmc-mid/README.md new file mode 100644 index 0000000..e69de29 diff --git a/ska_python_skeleton/__init__.py b/ska_python_skeleton/__init__.py deleted file mode 100644 index 82e49f1..0000000 --- a/ska_python_skeleton/__init__.py +++ /dev/null @@ -1,9 +0,0 @@ -# -*- coding: utf-8 -*- - -"""Module init code.""" - - -__version__ = '0.0.0' - -__author__ = 'Your Name' -__email__ = 'your.email@mail.com' diff --git a/ska_python_skeleton/ska_python_skeleton.py b/ska_python_skeleton/ska_python_skeleton.py deleted file mode 100644 index 7dd613e..0000000 --- a/ska_python_skeleton/ska_python_skeleton.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- - -#"""Define function placeholders and test function examples.""" - - -# TODO: Replace all the following code with the desired functionality for the package -def function_example(): - """Example: function outside of a class""" - - -# TODO: Replace all the following code with the desired functionality for the package -class SKA: - """Define class, methods etc""" - - something = 0 - - def example(self): - """Example: Define non return function for subsequent test.""" - - def example_2(self): - """Example: Define function for subsequent test with specific return value.""" - return 2 -- GitLab