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

small fix in documentation #378

Merged
merged 12 commits into from
Apr 25, 2024
Merged
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-latest, windows-latest]
os: [ubuntu-22.04, macos-12, windows-latest]
python: [cp39, cp310, cp311, cp312]
arch: [x86_64, amd64]
exclude:
- os: macos-latest
- os: macos-12
arch: amd64
- os: ubuntu-22.04
arch: amd64
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools
pip install tox tox-gh-actions
- name: Install pandoc # needed by nbconvert
uses: pandoc/actions/setup@main
with:
version: 2.19
- name: Run tox
run: tox -e docs

Expand Down
4 changes: 2 additions & 2 deletions docs/source/eFeatures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ The interspike intervals, i.e., the time intervals between adjacent peaks.
else:
inv_last_ISI = 0

`Python efeature`: inv_ISI_values
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`Python efeature`_ : inv_ISI_values
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Computes all inverse spike interval values.

Expand Down
2 changes: 2 additions & 0 deletions docs/source/python_examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ Python
python_example1
deap_optimisation
neoIO_example
nmc-portal
sonata-network

2 changes: 1 addition & 1 deletion examples/nmc-portal/L5TTPC2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Example of the use of the eFEL (eFeature Extraction Library) in conjunction with models downloaded from the Neocortical Microcircuit Portal website\n",
"# Example of the use of the eFEL (eFeature Extraction Library) in conjunction with models downloaded from the Neocortical Microcircuit Portal website\n",
"\n",
"Requirements:\n",
"- Python 3.9+, including Pip (https://pip.readthedocs.org)\n",
Expand Down
3 changes: 3 additions & 0 deletions requirements_docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ sphinx_rtd_theme>=2.0.0
sphinx-autobuild>=2021.3.14
sphinx-autorun>=1.1.1
sphinx-autodoc-typehints>=1.25.2
ipython
jupyter
pandoc
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,17 @@ deps =
pytest>=7.4.4
allowlist_externals =
make
jupyter
cp
changedir = docs

commands =
jupyter nbconvert --to rst ../examples/sonata-network/sonata-network.ipynb
jupyter nbconvert --to rst ../examples/nmc-portal/L5TTPC2.ipynb
cp ../examples/sonata-network/sonata-network.rst source/
cp -r ../examples/sonata-network/sonata-network_files source/
cp ../examples/nmc-portal/L5TTPC2.rst source/nmc-portal.rst
cp -r ../examples/nmc-portal/L5TTPC2_files source/
# build the docs to see if it builds fine
make html SPHINXOPTS=-W
# make sure the feature names and units are up-to-date
Expand Down