Skip to content

Commit b480d28

Browse files
committed
merge
2 parents 3cfdb75 + ea6ba2f commit b480d28

500 files changed

Lines changed: 5630 additions & 4179 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/c_actions.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
- name: Prepare
2626
uses: SpiNNakerManchester/SupportScripts/actions/prepare@main
2727
with:
28-
checkout_dependencies: spinnaker_tools spinn_common SpiNNFrontEndCommon
29-
install_dependencies: SpiNNUtils
30-
install_module: false
31-
install_check_tools: false
32-
ubuntu_packages: doxygen gcc-arm-none-eabi
28+
checkout-dependencies: spinnaker_tools spinn_common SpiNNFrontEndCommon
29+
install-dependencies: SpiNNUtils
30+
install-module: false
31+
install-check-tools: false
32+
ubuntu-packages: doxygen gcc-arm-none-eabi
3333

3434
- name: Set environment variables
3535
run: |
@@ -103,13 +103,13 @@ jobs:
103103
- name: Prepare
104104
uses: SpiNNakerManchester/SupportScripts/actions/prepare@main
105105
with:
106-
install_dependencies: >
106+
install-dependencies: >
107107
SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc
108108
SpiNNFrontEndCommon TestBase
109-
install_module: true
110-
install_check_tools: false
111-
ubuntu_packages: graphviz
112-
cfg_file: spynnaker
109+
install-module: true
110+
install-check-tools: false
111+
ubuntu-packages: graphviz
112+
cfg-file: spynnaker
113113

114114
- name: Download Fec binaries
115115
uses: actions/download-artifact@v4

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo "NEURAL_MODELLING_DIRS=$PWD/neural_modelling" >> $GITHUB_ENV
4343
4444
- name: Checkout SpiNNaker Dependencies
45-
uses: ./support/actions/install-spinn-deps
45+
uses: SpiNNakerManchester/SupportScripts/actions/install-spinn-deps@main
4646
with:
4747
repositories: >
4848
spinnaker_tools

.github/workflows/python_actions.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727
uses: SpiNNakerManchester/SupportScripts/.github/workflows/python_checks.yml@main
2828
with:
2929
dependencies: SpiNNUtils SpiNNMachine SpiNNMan PACMAN spalloc SpiNNFrontEndCommon TestBase
30-
ubuntu_packages: graphviz
31-
test_directories: unittests
30+
ubuntu-packages: graphviz
31+
test-directories: unittests
3232
coverage-package: spynnaker
3333
flake8-packages: spynnaker unittests spynnaker_integration_tests proxy_integration_tests
3434
pylint-packages: spynnaker
35-
mypy-packages: spynnaker unittests spynnaker_integration_tests proxy_integration_tests
36-
cfg_file: spynnaker
35+
mypy-packages: proxy_integration_tests
36+
mypy-full-packages: spynnaker unittests spynnaker_integration_tests
37+
cfg-file: spynnaker

.readthedocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ build:
1717
os: ubuntu-22.04
1818
tools:
1919
python: "3.11"
20+
jobs:
21+
post_build:
22+
- cd neural_modelling; doxygen ./Doxyfile
23+
- mkdir -p ${READTHEDOCS_OUTPUT}html/neural_modelling/
24+
- cp -a neural_modelling/html/* ${READTHEDOCS_OUTPUT}html/neural_modelling/
2025
sphinx:
2126
configuration: doc/source/conf.py
2227
builder: dirhtml

doc/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,16 +93,16 @@
9393

9494
# General information about the project.
9595
project = 'sPyNNaker'
96-
copyright = '2014'
96+
copyright = '%Y The University of Manchester'
9797

9898
# The version info for the project you're documenting, acts as replacement for
9999
# |version| and |release|, also used in various other places throughout the
100100
# built documents.
101101
#
102102
# The short X.Y version.
103-
version = '6.0'
103+
version = 'development'
104104
# The full version, including alpha/beta/rc tags.
105-
release = '6.0.1'
105+
release = 'development'
106106

107107
# The language for content autogenerated by Sphinx. Refer to documentation
108108
# for a list of supported languages.

doc/source/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
These pages document the python code for the sPyNNaker_ module
22
which is part of the SpiNNaker_ Project.
33

4+
The neural_modelling_ module contains the documentation of the C code for this module.
5+
46
This code depends on SpiNNUtils_, SpiNNMachine_, SpiNNMan_, PACMAN_, SpiNNFrontEndCommon_
57
(Combined_documentation_).
68

@@ -12,6 +14,7 @@ This code depends on SpiNNUtils_, SpiNNMachine_, SpiNNMan_, PACMAN_, SpiNNFrontE
1214
.. _PACMAN: https://pacman.readthedocs.io
1315
.. _SpiNNFrontEndCommon: https://spinnfrontendcommon.readthedocs.io
1416
.. _Combined_documentation: https://spinnakermanchester.readthedocs.io
17+
.. _neural_modelling: neural_modelling/
1518

1619
sPyNNaker
1720
=========

mypy.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ man="../SpiNNMan/spinnman"
2525
pacman="../PACMAN/pacman"
2626
spalloc="../spalloc/spalloc_client"
2727
fec="../SpiNNFrontEndCommon/spinn_front_end_common"
28+
test_base="../TestBase/spinnaker_testbase"
2829

29-
mypy --python-version 3.8 $utils $machine $man $pacman $spalloc $fec spynnaker
30+
mypy --python-version 3.8 $utils $machine $man $pacman $spalloc $fec $test_base spynnaker unittests spynnaker_integration_tests

mypyd.bash

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
# Copyright (c) 2024 The University of Manchester
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# This bash assumes that other repositories are installed in paralled
18+
19+
# requires the latest mypy
20+
# pip install --upgrade mypy
21+
22+
utils="../SpiNNUtils/spinn_utilities"
23+
machine="../SpiNNMachine/spinn_machine"
24+
man="../SpiNNMan/spinnman"
25+
pacman="../PACMAN/pacman"
26+
spalloc="../spalloc/spalloc_client"
27+
fec="../SpiNNFrontEndCommon/spinn_front_end_common"
28+
test_base="../TestBase/spinnaker_testbase"
29+
30+
mypy --python-version 3.8 --disallow-untyped-defs $utils $machine $man $pacman $spalloc $fec $test_base spynnaker unittests spynnaker_integration_tests
31+

neural_modelling/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ PROJECT_NAME = "sPyNNaker neural_modelling"
5252
# could be handy for archiving the generated documentation or if some version
5353
# control system is used.
5454

55-
PROJECT_NUMBER = 7.3.1
55+
PROJECT_NUMBER = development
5656

5757
# Using the PROJECT_BRIEF tag one can provide an optional one line description
5858
# for a project that appears at the top of each page and should give viewer a

neural_modelling/mainpage.dox

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959
*
6060
* These enable the neuron simulation to work, or to work more efficiently.
6161
*
62-
* * Bitfield Expander, which builds inter-core message masks on the machine.
63-
* See bit_field_expander.c
6462
* * Delay Extension, which handles messages that need to be delayed a long time
6563
* before delivery. See delay_extension.c
6664
* * Robot Motor Control, which translates spiking rates of SpiNNaker messages

0 commit comments

Comments
 (0)