From f1ee8be9511cc25d94d10cd35f0535d565ebe4b6 Mon Sep 17 00:00:00 2001
From: Ask Hjorth Larsen <asklarsen@gmail.com>
Date: Thu, 1 Mar 2018 20:28:13 +0100
Subject: [PATCH] add license headers

---
 parser/parser-octopus/aseoct.py               | 30 +++++++++++--------
 .../parser-octopus/generate-octopus-json.py   | 15 ++++++++++
 parser/parser-octopus/parser_octopus.py       | 15 ++++++++++
 parser/parser-octopus/setup_paths.py          | 14 +++++++++
 4 files changed, 62 insertions(+), 12 deletions(-)

diff --git a/parser/parser-octopus/aseoct.py b/parser/parser-octopus/aseoct.py
index 6c47b16..2893c1e 100644
--- a/parser/parser-octopus/aseoct.py
+++ b/parser/parser-octopus/aseoct.py
@@ -1,19 +1,25 @@
-# coding=utf-8
-"""This is based on a fork of the ASE-interface to Octopus.
-
-The Octopus ASE interface is written by
+# Copyright 2016-2018 The NOMAD Developers Group
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# coding = utf-8
+
+"""This module is written by
 
   Ask Hjorth Larsen <asklarsen@gmail.com>
   Carlos de Armas
-
-and made available for NOMAD to license
-as appropriate.
-
-It has *also* been contributed to ASE itself.
-The copy within ASE is under LGPL v2.1+.
-
-http://tddft.org/programs/octopus/
 """
+
 import os
 import re
 from subprocess import Popen, PIPE
diff --git a/parser/parser-octopus/generate-octopus-json.py b/parser/parser-octopus/generate-octopus-json.py
index b7ebc27..99e5f18 100644
--- a/parser/parser-octopus/generate-octopus-json.py
+++ b/parser/parser-octopus/generate-octopus-json.py
@@ -1,3 +1,18 @@
+# Copyright 2016-2018 The NOMAD Developers Group
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
 from __future__ import print_function
 from subprocess import Popen, PIPE
 
diff --git a/parser/parser-octopus/parser_octopus.py b/parser/parser-octopus/parser_octopus.py
index 8b3b63c..081a0d8 100644
--- a/parser/parser-octopus/parser_octopus.py
+++ b/parser/parser-octopus/parser_octopus.py
@@ -1,3 +1,18 @@
+# Copyright 2016-2018 The NOMAD Developers Group
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
 from __future__ import print_function
 import re
 import os
diff --git a/parser/parser-octopus/setup_paths.py b/parser/parser-octopus/setup_paths.py
index e0a0fb0..52cfcf1 100644
--- a/parser/parser-octopus/setup_paths.py
+++ b/parser/parser-octopus/setup_paths.py
@@ -1,3 +1,17 @@
+# Copyright 2016-2018 The NOMAD Developers Group
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 import sys, os, os.path
 baseDir = os.path.dirname(os.path.abspath(__file__))
 commonDir = os.path.normpath(os.path.join(baseDir,"../../../../python-common/common/python"))
-- 
GitLab