Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Change license from GPLv3 to Apache-v2 #106

Merged
merged 4 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Changes here will be overwritten by Copier

_commit: 0.1.54
_commit: 0.1.57
_src_path: git@bbpgitlab.epfl.ch:neuromath/python-template.git
author_email: ''
author_name: Blue Brain Project, EPFL
copyright_license: GNU General Public License v3.0
copyright_license: Apache License 2.0
copyright_year: '2022'
distribution_name: NeuroTS
download_url: https://github.com/BlueBrain/NeuroTS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- run: npm install -g --force commitlint @commitlint/cli commitlint-plugin-cleanfeet
- run: npm install conventional-changelog-conventionalcommits
- run: touch .git/COMMIT_EDITMSG
Expand Down
875 changes: 201 additions & 674 deletions LICENSE.txt

Large diffs are not rendered by default.

15 changes: 2 additions & 13 deletions examples/extract_synthesis_inputs.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# noqa

# Copyright (C) 2022 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

"""
Extract inputs for synthesis
Expand Down
15 changes: 2 additions & 13 deletions examples/synthesize_neuron_external_diameter.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# noqa

# Copyright (C) 2022 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

"""
Synthesize a cell with external diametrizer
Expand Down
15 changes: 2 additions & 13 deletions examples/synthesize_neuron_with_diameters.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# noqa

# Copyright (C) 2022 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

"""
Synthesize neuron with a simple diameter model
Expand Down
15 changes: 2 additions & 13 deletions examples/synthesize_neurons.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# noqa

# Copyright (C) 2022 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

"""
Synthesize a population of neurons with the same parameters
Expand Down
15 changes: 2 additions & 13 deletions examples/synthesize_single_neuron.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# noqa

# Copyright (C) 2022 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

"""
Synthesize a single neuron
Expand Down
15 changes: 2 additions & 13 deletions neurots/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,9 @@
Synthesis of artificial neurons using their topological profiles package.
"""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import importlib.metadata

Expand Down
15 changes: 2 additions & 13 deletions neurots/astrocyte/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
"""Module to generate astrocyte morphologies."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0
15 changes: 2 additions & 13 deletions neurots/astrocyte/context.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""Space colonization context data structures."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import logging

Expand Down
15 changes: 2 additions & 13 deletions neurots/astrocyte/grower.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""NeuroTS class: Grower object that contains the grower functionality."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import logging
from copy import deepcopy
Expand Down
15 changes: 2 additions & 13 deletions neurots/astrocyte/point_cloud.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""Point cloud class for synapses."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import logging

Expand Down
15 changes: 2 additions & 13 deletions neurots/astrocyte/section.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""Astrocyte section growers."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import logging
from collections import namedtuple
Expand Down
15 changes: 2 additions & 13 deletions neurots/astrocyte/space_colonization.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""Basic class for TreeGrower Algorithms for space colonization."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import logging

Expand Down
15 changes: 2 additions & 13 deletions neurots/astrocyte/tmd_utils.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""Barcode utils."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import logging

Expand Down
15 changes: 2 additions & 13 deletions neurots/astrocyte/tree.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""NeuroTS class: Tree."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import copy

Expand Down
15 changes: 2 additions & 13 deletions neurots/basic.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""A file to store general basic functionality needed in different modules."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import numpy as np

Expand Down
15 changes: 2 additions & 13 deletions neurots/extract_input/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""Module to extract morphometrics and TMD-input from a set of tree-shaped cells."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

from neurots.extract_input.input_distributions import distributions # noqa
from neurots.extract_input.input_parameters import parameters # noqa
15 changes: 2 additions & 13 deletions neurots/extract_input/from_TMD.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
"""Extracts the distributions associated with TMD module."""

# Copyright (C) 2021 Blue Brain Project, EPFL
# Copyright (C) 2021-2024 Blue Brain Project, EPFL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# SPDX-License-Identifier: Apache-2.0

import tmd

Expand Down
Loading