Skip to content
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 .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:

- name: Install pip, etc
uses: ./support/actions/python-tools
- name: Install matplotlib
uses: ./support/actions/install-matplotlib
- name: Checkout SpiNNaker Dependencies
uses: ./support/actions/checkout-spinn-deps
with:
Expand All @@ -50,8 +52,6 @@ jobs:
install: true
- name: Setup PyNN
uses: ./support/actions/pynn-setup
- name: Install matplotlib
uses: ./support/actions/install-matplotlib
- name: install test requirements as no setup
run: pip install -r requirements-test.txt
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion examples/extra_models_examples/LGN_Izhikevich.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def calc_irregularity(segment):
irregularity = 0
isi_array = []
for i in range(len(segment.spiketrains)):
if(len(segment.spiketrains[i]) > 2):
if len(segment.spiketrains[i]) > 2:
isi_array.append([])
for j in range(len(segment.spiketrains[i])-1):
isi_array[-1].append(
Expand Down
2 changes: 1 addition & 1 deletion examples/synfire_if_cond_exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
runtime = 5000
p.setup(timestep=1.0, min_delay=1.0)
nNeurons = 200 # number of neurons in each population
p.set_number_of_neurons_per_core(p.IF_curr_exp, nNeurons / 2)
p.set_number_of_neurons_per_core(p.IF_cond_exp, nNeurons / 2)

cell_params_lif = {'cm': 0.25,
'i_offset': 0.0,
Expand Down