Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/BlueBrain/eFEL into dend-…
Browse files Browse the repository at this point in the history
…validation-features
  • Loading branch information
Jaquier Aurélien Tristan committed Jan 8, 2024
2 parents ca4fa8e + d03928c commit 0d8ce4a
Show file tree
Hide file tree
Showing 36 changed files with 1,961 additions and 870 deletions.
14 changes: 14 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

# Pull Request Template

## Description

Please include a summary of the change.
By default the change will increment the patch version.
To increment major or minor changes add #major or #minor to the PR description.


## Checklist:
- [ ] Unit tests are added to cover the changes.
- [ ] The changes are mentioned in the documentation.
- [ ] CHANGELOG.md is updated (skip if the change is not important for the changelog).
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
commit-message:
# Prefix all commit messages with "CI(dependabot): "
prefix: "CI(dependabot): "
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.64.0
uses: anothrNick/github-tag-action@1.67.0
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
id: tag
env:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-latest, windows-latest]
python: [cp38, cp39, cp310, cp311]
python: [cp38, cp39, cp310, cp311, cp312]
arch: [x86_64, amd64]
exclude:
- os: macos-latest
Expand All @@ -72,18 +72,18 @@ jobs:
CIBW_SKIP: "*-musllinux_*"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install cibuildwheel
run: pip install cibuildwheel
- name: Build wheels
run: cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl
Expand All @@ -93,17 +93,17 @@ jobs:
runs-on: ubuntu-22.04
needs: [call-test-workflow, tag]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Build a source tarball
run:
python setup.py sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: tarball
path: dist
Expand All @@ -114,16 +114,16 @@ jobs:
runs-on: ubuntu-22.04
needs: [call-test-workflow, tag, wheels, tarball]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Download all artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: artifacts

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/keep-alive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Keep workflow alive
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: master

Expand Down
37 changes: 27 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -33,13 +33,13 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -55,14 +55,31 @@ jobs:
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false

examples:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install tox-gh-actions
- name: Run tox
run: |
tox -e examples
docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ bin
*.ipynb_checkpoints
lib
fllog.txt
*.DS_Store
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="docs/source/logo/eFELBanner.png"/>
<img src="https://raw.githubusercontent.com/BlueBrain/eFEL/master/docs/source/logo/eFELBanner.png" alt="eFEL banner" />

<table>
<tr>
Expand Down Expand Up @@ -73,7 +73,7 @@ the values to the user.

The core of the library is written in C++, and a Python wrapper is included.
At the moment we provide a way to automatically compile and install the library
as a Python module. Instructions on how to compile the eFEL as a standalone C++
as a Python module. Instructions on how to compile the eFEL as a standalone C++
library can be found [here](http://efel.readthedocs.io/en/latest/installation.html#installing-the-c-standalone-library).


Expand All @@ -83,12 +83,12 @@ Citation
When you use this eFEL software for your research, we ask you to cite the following publications (this includes poster presentations):

```
@article{efel,
title={eFEL},
@article{efel,
title={eFEL},
DOI={10.5281/zenodo.593869},
url={https://doi.org/10.5281/zenodo.593869}
abstractNote={The Electrophys Feature Extraction Library (eFEL) allows neuroscientists to automatically extract features from time series data recorded from neurons (both in vitro and in silico). Examples are the action potential width and amplitude in voltage traces recorded during whole-cell patch clamp experiments. The user of the library provides a set of traces and selects the features to be calculated. The library will then extract the requested features and return the values to the user.},
publisher={Zenodo},
url={https://doi.org/10.5281/zenodo.593869}
abstractNote={The Electrophys Feature Extraction Library (eFEL) allows neuroscientists to automatically extract features from time series data recorded from neurons (both in vitro and in silico). Examples are the action potential width and amplitude in voltage traces recorded during whole-cell patch clamp experiments. The user of the library provides a set of traces and selects the features to be calculated. The library will then extract the requested features and return the values to the user.},
publisher={Zenodo},
author={Ranjan, Rajnish and
Van Geit, Werner and
Moor, Ruben and
Expand All @@ -97,8 +97,8 @@ When you use this eFEL software for your research, we ask you to cite the follow
Damart, Tanguy and
Jaquier, Aurélien and
Tuncel, Anil},
year={2023},
month={Jul}
year={2023},
month={Jul}
}
```

Expand Down Expand Up @@ -235,16 +235,16 @@ Results are in mV.

Full documentation
==================
The full documentation can be found [here](http://efel.readthedocs.io)
The full documentation can be found [here](http://efel.readthedocs.io)

Funding
=======
This work has been partially funded by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP),
the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 720270, 785907
(Human Brain Project SGA1/SGA2) and by the EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework
Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).
This project/research was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de
This work has been partially funded by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP),
the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 720270, 785907
(Human Brain Project SGA1/SGA2) and by the EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework
Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).
This project/research was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de
Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.

Copyright (c) 2009-2022 Blue Brain Project/EPFL
Copyright (c) 2009-2024 Blue Brain Project/EPFL

1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
build_efeatures
build
source/_autosummary
15 changes: 14 additions & 1 deletion docs/source/api.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
Python API
==========

.. automodule:: efel.api
.. automodule:: efel
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. autosummary::
:toctree: _autosummary
:recursive:

api
io
pyfeatures.pyfeatures
units
settings
Loading

0 comments on commit 0d8ce4a

Please sign in to comment.