From a7abffff7f6bd057d6462f039681fb050b36e874 Mon Sep 17 00:00:00 2001 From: Markus Scheidgen <markus.scheidgen@gmail.com> Date: Fri, 13 Jul 2018 11:20:17 +0200 Subject: [PATCH] Added copyright statements and license. --- parser/parser-gulp/generate_scala_testcode.py | 14 ++++++++++ parser/parser-gulp/main.py | 25 ++++++++--------- parser/parser-gulp/runtests.py | 14 ++++++++++ parser/parser-gulp/setup_paths.py | 14 ++++++++++ parser/parser-gulp/spacegroups.py | 14 ++++++++++ .../eu/nomad_lab/parsers/GulpParser.scala | 27 ++++++++++--------- .../eu/nomad_lab/parsers/GulpParserSpec.scala | 27 ++++++++++--------- 7 files changed, 97 insertions(+), 38 deletions(-) diff --git a/parser/parser-gulp/generate_scala_testcode.py b/parser/parser-gulp/generate_scala_testcode.py index 089840b..5acffbb 100755 --- a/parser/parser-gulp/generate_scala_testcode.py +++ b/parser/parser-gulp/generate_scala_testcode.py @@ -1,4 +1,18 @@ #!/usr/bin/env python +# Copyright 2016-2018 Ask Hjorth Larsen, Fawzi Mohamed +# +# 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 os from glob import glob diff --git a/parser/parser-gulp/main.py b/parser/parser-gulp/main.py index 147c437..d94003f 100644 --- a/parser/parser-gulp/main.py +++ b/parser/parser-gulp/main.py @@ -1,16 +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 -# +# Copyright 2016-2018 Ask Hjorth Larsen, Fawzi Mohamed +# +# 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. +# +# 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. + # # Main author and maintainer: Ask Hjorth Larsen <asklarsen@gmail.com> diff --git a/parser/parser-gulp/runtests.py b/parser/parser-gulp/runtests.py index c4af0f3..a8122e2 100755 --- a/parser/parser-gulp/runtests.py +++ b/parser/parser-gulp/runtests.py @@ -1,4 +1,18 @@ #!/usr/bin/env python +# Copyright 2016-2018 Ask Hjorth Larsen, Fawzi Mohamed +# +# 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 glob import glob import re diff --git a/parser/parser-gulp/setup_paths.py b/parser/parser-gulp/setup_paths.py index e0a0fb0..d919821 100644 --- a/parser/parser-gulp/setup_paths.py +++ b/parser/parser-gulp/setup_paths.py @@ -1,3 +1,17 @@ +# Copyright 2016-2018 Ask Hjorth Larsen, Fawzi Mohamed +# +# 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/parser/parser-gulp/spacegroups.py b/parser/parser-gulp/spacegroups.py index 90e31c2..3acba5b 100644 --- a/parser/parser-gulp/spacegroups.py +++ b/parser/parser-gulp/spacegroups.py @@ -1,3 +1,17 @@ +# Copyright 2016-2018 Ask Hjorth Larsen, Fawzi Mohamed +# +# 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. + # All the space groups that GULP will print sg = ['P 1 ','P -1 ','P 2 ','P 21 ', 'C 2 ','P M ','P C ','C M ','C C ', diff --git a/src/main/scala/eu/nomad_lab/parsers/GulpParser.scala b/src/main/scala/eu/nomad_lab/parsers/GulpParser.scala index d99b20a..afe5701 100644 --- a/src/main/scala/eu/nomad_lab/parsers/GulpParser.scala +++ b/src/main/scala/eu/nomad_lab/parsers/GulpParser.scala @@ -1,18 +1,19 @@ /* - Copyright 2016-2017 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. + * Copyright 2016-2018 Ask Hjorth Larsen, Fawzi Mohamed + * + * 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.parsers import eu.{ nomad_lab => lab } diff --git a/src/test/scala/eu/nomad_lab/parsers/GulpParserSpec.scala b/src/test/scala/eu/nomad_lab/parsers/GulpParserSpec.scala index 99f915b..71f7d0a 100644 --- a/src/test/scala/eu/nomad_lab/parsers/GulpParserSpec.scala +++ b/src/test/scala/eu/nomad_lab/parsers/GulpParserSpec.scala @@ -1,18 +1,19 @@ /* - Copyright 2016-2017 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. + * Copyright 2016-2018 Ask Hjorth Larsen, Fawzi Mohamed + * + * 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.parsers import eu.nomad_lab.{ parsers, DefaultPythonInterpreter } -- GitLab