From 67651b6f3c324d660945c4d7e91410f65b7dfa12 Mon Sep 17 00:00:00 2001 From: Arvid Ihrig <ihrig@fhi-berlin.mpg.de> Date: Wed, 21 Mar 2018 10:51:00 +0100 Subject: [PATCH] added/updated copyright notice --- .../classify_structure.py | 21 +++++++++++++++---- .../normalizer-system-type/setup_paths.py | 15 +++++++++++++ .../normalizers/SystemTypeNormalizer.scala | 17 +++++++++++++++ 3 files changed, 49 insertions(+), 4 deletions(-) diff --git a/normalizer/normalizer-system-type/classify_structure.py b/normalizer/normalizer-system-type/classify_structure.py index a65587b..e77de9a 100644 --- a/normalizer/normalizer-system-type/classify_structure.py +++ b/normalizer/normalizer-system-type/classify_structure.py @@ -1,3 +1,18 @@ +# Copyright 2016-2018 Franz Knuth, Arvid Conrad Ihrig +# Fritz-Haber-Institut der Max-Planck-Gesellschaft +# +# 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 division from builtins import map from builtins import range @@ -10,11 +25,9 @@ from nomadcore.parser_backend import JsonParseEventsWriterBackend from nomadcore.parse_streamed_dicts import ParseStreamedDicts from past.utils import old_div -# AUTHOR: Franz Knuth -# YEAR: 2016 -# + # Script for simple classification of parsed Nomad structures based purely on geometric properties -# Details on the approah are described in the class ClassifyStructure +# Details on the approach are described in the class ClassifyStructure import numpy as np import ase diff --git a/normalizer/normalizer-system-type/setup_paths.py b/normalizer/normalizer-system-type/setup_paths.py index e0a0fb0..5e6fad1 100644 --- a/normalizer/normalizer-system-type/setup_paths.py +++ b/normalizer/normalizer-system-type/setup_paths.py @@ -1,3 +1,18 @@ +# Copyright 2016-2018 Franz Knuth, Arvid Conrad Ihrig +# Fritz-Haber-Institut der Max-Planck-Gesellschaft +# +# 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")) diff --git a/src/main/scala/eu/nomad_lab/normalizers/SystemTypeNormalizer.scala b/src/main/scala/eu/nomad_lab/normalizers/SystemTypeNormalizer.scala index 85409b1..ed2361d 100644 --- a/src/main/scala/eu/nomad_lab/normalizers/SystemTypeNormalizer.scala +++ b/src/main/scala/eu/nomad_lab/normalizers/SystemTypeNormalizer.scala @@ -1,3 +1,20 @@ +/* + Copyright 2016-2018 Arvid Conrad Ihrig + Fritz-Haber-Institut der Max-Planck-Gesellschaft + + 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. + */ + package eu.nomad_lab.normalizers import eu.{ nomad_lab => lab } -- GitLab