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

VOR related models #10

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
e401761
Update to match current master; mostly working aside from provenance
andrewgait Nov 23, 2021
a383140
Add the beginnings of some database reading for provenance
andrewgait Nov 24, 2021
1148237
Update tests (packets-per-timestep broken?), rename "truth" figures
andrewgait Nov 25, 2021
1402e62
Create dataframe from provenance database; get_data('all') works again
andrewgait Nov 29, 2021
abb10f0
Match assertion to what is stated in the message
andrewgait Jan 28, 2022
37e3fbd
Match assertion to message using absolute and not relative tolerance
andrewgait Jan 28, 2022
edae6c1
Update scripts to run with current master; ignore unknown args
andrewgait Mar 3, 2022
1ff54d4
Add basic integration and unit testing
andrewgait Mar 3, 2022
d6b9807
Add requirements-test
andrewgait Mar 3, 2022
78b5045
Add try-except around polynomial fitting
andrewgait Mar 4, 2022
39c08d5
Perhaps import_all test isn't sensible here
andrewgait Mar 4, 2022
057fee7
Don't ignore SpiNNaker cfg files
andrewgait Mar 7, 2022
0a2a5bd
pandas should be here
andrewgait Jun 17, 2022
8c12eae
Add cfg file for spinngym_tests
andrewgait Jun 17, 2022
c34070b
No need to set neurons per core twice
andrewgait Jun 17, 2022
e7d4ed5
change spynnaker8 to pynn.spinnaker
andrewgait Jun 17, 2022
e2b29ea
Radial constraint removed; max_atoms can't be more than neurons per core
andrewgait Jul 15, 2022
6016125
fix max_atoms inconsistency; fix plotting error
andrewgait Jul 18, 2022
c0a0692
Add basic actions and import all unittest
andrewgait Jul 22, 2022
174b5fc
Add copyrights
andrewgait Jul 22, 2022
3d42267
It would help if I used the right name for this directory
andrewgait Jul 22, 2022
c41e541
Tidy up code (flake8), part 1
andrewgait Jul 22, 2022
d3945ba
flake8 tidying up, part 2
andrewgait Jul 25, 2022
b0b0039
Try excluding from import all
andrewgait Jul 25, 2022
fe7ab34
Delete archived_original_tests as no longer needed
andrewgait Jul 25, 2022
554b3dd
structured provenance filename no longer in simulator; rename "map"
andrewgait Jul 25, 2022
d3c0947
archived_original_tests deleted, so no need to exclude it any more
andrewgait Jul 26, 2022
fb9a776
More neurons per core conflicts; tidying up of datetime
andrewgait Jul 26, 2022
9d80b07
Rename
andrewgait Jul 26, 2022
18afd8c
Move tests to their own directory
andrewgait Jul 26, 2022
3ff4bcc
lint new location and rename map
andrewgait Jul 26, 2022
c8b8966
Forgot to move this script
andrewgait Jul 26, 2022
df9a248
argument deleted
andrewgait Jul 26, 2022
0f67be5
Take out unnecessary calls to get_simulator
andrewgait Jul 26, 2022
c2388d3
Add more copyrights
andrewgait Jul 26, 2022
75912ef
Missed one file copyright, exclude readme files
andrewgait Jul 26, 2022
cb3a542
Examples directory changed
andrewgait Jul 27, 2022
f59391c
no need to check both directory and existence
andrewgait Jul 27, 2022
17cbfd7
Try exists instead of isdir
andrewgait Jul 27, 2022
31c4cbc
Provenance no longer has cpu_cycles or dtcm cost
andrewgait Aug 4, 2022
0a36eb2
backslashes needed; add default for full recording
andrewgait Aug 4, 2022
2faa42f
update argument
andrewgait Sep 14, 2022
de31b6c
Move plotting into examples
andrewgait Sep 28, 2022
1dc8d3a
Update with changes to ICubVorEnv
andrewgait Nov 17, 2022
2ef33e6
Update to match SpiNNGym changes
andrewgait Nov 18, 2022
e996dff
flake8
andrewgait Nov 18, 2022
28a5577
Strict pylint
andrewgait Jan 12, 2023
ba792f9
pylint is now more strict
andrewgait Jan 13, 2023
315246d
flake8 local/global variable
andrewgait Jan 13, 2023
80971a1
flake8 line length
andrewgait Jan 13, 2023
efd72a6
pylint fixes
andrewgait Jan 13, 2023
d7a3ea3
Some tidying up to avoid excessive warnings from numpy
andrewgait Jan 16, 2023
601a6b8
Didn't mean to change this, go back
andrewgait Jan 16, 2023
e081a2e
Update provenance analysis to use correct database
andrewgait Feb 21, 2023
a765869
spalloc -> spalloc_client
andrewgait Apr 21, 2023
243be86
Update python actions to not bother with 3.7 for now
andrewgait Apr 21, 2023
98d190a
Try out new setup procedure, update copyright dates
andrewgait Apr 24, 2023
aa0cc51
Add version file
andrewgait Apr 24, 2023
660ad1a
Missed a requirement
andrewgait Apr 24, 2023
cfecb89
Update gitignore
andrewgait Apr 24, 2023
e7d56e5
Merge remote-tracking branch 'origin/master' into icub_vor_update
andrewgait Apr 24, 2023
e33e554
Remove citation for now as it referred to a different paper
andrewgait Apr 24, 2023
e9a5c6f
Update to match downstream rng changes
andrewgait Jun 26, 2023
6176455
Remove dataspec
andrewgait Jun 26, 2023
054a418
final connectivity shouldn't be a list
andrewgait Jun 30, 2023
514b49d
requirements have been moved to setup.cfg
andrewgait Jul 3, 2023
2e982cf
Update notebook and add input data
andrewgait Jul 19, 2023
16209ef
Update version number
andrewgait Jul 26, 2023
3f1cb35
Update scripts to replace unneeded model
andrewgait Sep 19, 2023
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
83 changes: 83 additions & 0 deletions .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Copyright (c) 2022 The University of Manchester
#
# 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 <http://www.gnu.org/licenses/>.

name: Python Actions
on: [push]

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Checkout
uses: actions/checkout@v3
- name: Checkout SupportScripts
uses: actions/checkout@v2
with:
repository: SpiNNakerManchester/SupportScripts
path: support
- name: Install pip, etc
uses: ./support/actions/python-tools
- name: Install Spinnaker Dependencies
uses: ./support/actions/install-spinn-deps
with:
repositories: >
SpiNNUtils SpiNNMachine SpiNNMan PACMAN DataSpecification spalloc
SpiNNFrontEndCommon sPyNNaker SpiNNGym TestBase
install: true
- name: Install matplotlib
uses: ./support/actions/install-matplotlib
- name: Setup
uses: ./support/actions/run-install
- name: Setup PyNN
uses: ./support/actions/pynn-setup

# Add this when tests are built
- name: Create a spynnaker.cfg
uses: ./support/actions/configure-spynnaker
with:
board-address: spinn-4.cs.man.ac.uk

- name: Test with pytest
uses: ./support/actions/pytest
with:
tests: unittests
coverage: ${{ matrix.python-version == 3.8 }}
cover-packages: ${{ env.CODE_PATHS }}
coveralls-token: ${{ secrets.COVERALLS_REPO_TOKEN }}

- name: Lint with flake8
run: flake8 vor_cerebellum vor_cerebellum_examples integration_tests unittests
- name: Lint with pylint
uses: ./support/actions/pylint
with:
package: vor_cerebellum vor_cerebellum_examples
exitcheck: 39

#- name: Validate XML
# if: matrix.python-version == 3.8
# uses: ./support/actions/validate-xml
# with:
# base-path: examples spinn_gym

- name: Run rat copyright enforcement
if: matrix.python-version == 3.8
uses: ./support/actions/check-copyrights
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,16 @@ dmypy.json
# Cython debug symbols
cython_debug/

# sPyNNaker.cfg
*.cfg

# figures
*.png
*.pdf
*.out

# IDE metadata
# sPyNNaker reports and generated files
application_generated_data_files/
reports/

.project
.settings/
.pydevproject
**/*npz
Loading