From 8e16274496e9a0c025f448c965cfaf199a4db568 Mon Sep 17 00:00:00 2001 From: ilkilic <10600022+ilkilic@users.noreply.github.com> Date: Mon, 24 Jun 2024 17:35:32 +0200 Subject: [PATCH] add license header (#150) --- bluepyemodel/access_point/forge_access_point.py | 16 ++++++++++++++++ bluepyemodel/access_point/nexus.py | 16 ++++++++++++++++ examples/local2nexus/export_local_to_nexus.py | 16 ++++++++++++++++ examples/memodel/memodel.py | 16 ++++++++++++++++ examples/run_emodel/run_emodel.py | 16 ++++++++++++++++ 5 files changed, 80 insertions(+) diff --git a/bluepyemodel/access_point/forge_access_point.py b/bluepyemodel/access_point/forge_access_point.py index 7f4854ed..f0e5875b 100644 --- a/bluepyemodel/access_point/forge_access_point.py +++ b/bluepyemodel/access_point/forge_access_point.py @@ -1,5 +1,21 @@ """NexusForgeAccessPoint class.""" +""" +Copyright 2024 Blue Brain Project / EPFL + +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 getpass import json import logging diff --git a/bluepyemodel/access_point/nexus.py b/bluepyemodel/access_point/nexus.py index 06629794..d184ec55 100755 --- a/bluepyemodel/access_point/nexus.py +++ b/bluepyemodel/access_point/nexus.py @@ -1,5 +1,21 @@ """Access point using Nexus Forge""" +""" +Copyright 2024 Blue Brain Project / EPFL + +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 copy import logging import os diff --git a/examples/local2nexus/export_local_to_nexus.py b/examples/local2nexus/export_local_to_nexus.py index 32f66ddd..24ace76a 100644 --- a/examples/local2nexus/export_local_to_nexus.py +++ b/examples/local2nexus/export_local_to_nexus.py @@ -1,5 +1,21 @@ """Upload local models to nexus.""" +""" +Copyright 2024, EPFL/Blue Brain Project + +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 getpass import os from bluepyemodel.export_emodel.export_emodel import export_emodels_nexus diff --git a/examples/memodel/memodel.py b/examples/memodel/memodel.py index 1c65972a..1618b752 100644 --- a/examples/memodel/memodel.py +++ b/examples/memodel/memodel.py @@ -1,5 +1,21 @@ """Get EModel, modify morphology, plot analysis and upload MEModel""" +""" +Copyright 2024, EPFL/Blue Brain Project + +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. +""" + # Attention! This will overwrite figures made with the same access point. # It is highly recommended to clean the figures folder between two runs # to avoid any leftover figure to be wrongly associated with a MEModel. diff --git a/examples/run_emodel/run_emodel.py b/examples/run_emodel/run_emodel.py index 43c06c76..926f9957 100644 --- a/examples/run_emodel/run_emodel.py +++ b/examples/run_emodel/run_emodel.py @@ -1,5 +1,21 @@ """Running the emodel with BlueCelluLab""" +""" +Copyright 2024, EPFL/Blue Brain Project + +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 argparse import getpass import glob