summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Kulhanek <tomas.kulhanek@stfc.ac.uk>2019-02-22 08:10:48 -0500
committerTomas Kulhanek <tomas.kulhanek@stfc.ac.uk>2019-02-22 08:10:48 -0500
commit5a2fd376130ea2c7c4ac1704bc9d2f087522855d (patch)
tree62865a37b7efe3f0958e2480d604ba6ad1d0d18b
parent755b74b26f07f91fbffd19f3476da1f6ac16d774 (diff)
downloadregularization-5a2fd376130ea2c7c4ac1704bc9d2f087522855d.tar.gz
regularization-5a2fd376130ea2c7c4ac1704bc9d2f087522855d.tar.bz2
regularization-5a2fd376130ea2c7c4ac1704bc9d2f087522855d.tar.xz
regularization-5a2fd376130ea2c7c4ac1704bc9d2f087522855d.zip
UPDATE:test and pycharm project files
-rw-r--r--.idea/CCPi-Regularisation-Toolkit.iml16
-rw-r--r--.idea/encodings.xml4
-rw-r--r--.idea/misc.xml7
-rw-r--r--.idea/modules.xml8
-rw-r--r--.idea/vcs.xml6
-rw-r--r--test/test_CPU_regularisers.py5
6 files changed, 46 insertions, 0 deletions
diff --git a/.idea/CCPi-Regularisation-Toolkit.iml b/.idea/CCPi-Regularisation-Toolkit.iml
new file mode 100644
index 0000000..c02bd4f
--- /dev/null
+++ b/.idea/CCPi-Regularisation-Toolkit.iml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="PYTHON_MODULE" version="4">
+ <component name="NewModuleRootManager">
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/Python/src" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/Python/ccpi" isTestSource="false" />
+ </content>
+ <orderEntry type="jdk" jdkName="Python 3.6 (py3)" jdkType="Python SDK" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ </component>
+ <component name="TestRunnerService">
+ <option name="PROJECT_TEST_RUNNER" value="Unittests" />
+ </component>
+</module> \ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..15a15b2
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="Encoding" addBOMForNewFiles="with NO BOM" />
+</project> \ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..c078c5c
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6 (py3)" project-jdk-type="Python SDK" />
+ <component name="PyCharmProfessionalAdvertiser">
+ <option name="shown" value="true" />
+ </component>
+</project> \ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..e00e88e
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/CCPi-Regularisation-Toolkit.iml" filepath="$PROJECT_DIR$/.idea/CCPi-Regularisation-Toolkit.iml" />
+ </modules>
+ </component>
+</project> \ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ </component>
+</project> \ No newline at end of file
diff --git a/test/test_CPU_regularisers.py b/test/test_CPU_regularisers.py
index 8940926..552e64e 100644
--- a/test/test_CPU_regularisers.py
+++ b/test/test_CPU_regularisers.py
@@ -126,3 +126,8 @@ class TestRegularisers(unittest.TestCase):
# now test that it generates some expected output
self.assertAlmostEqual(rms, 0.02, delta=0.01)
+
+
+
+if __name__ == '__main__':
+ unittest.main()