diff --git a/.github/workflows/python_actions.yml b/.github/workflows/python_actions.yml index db8fa59..56c3af2 100644 --- a/.github/workflows/python_actions.yml +++ b/.github/workflows/python_actions.yml @@ -34,7 +34,7 @@ jobs: path: support - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install pip, etc diff --git a/learning/simple.py b/learning/simple.py index 4ba9ef1..8e29136 100644 --- a/learning/simple.py +++ b/learning/simple.py @@ -16,7 +16,8 @@ import matplotlib.pyplot as plt import pyNN.spiNNaker as sim -sim.setup(timestep=1.0) +sim.setup(timestep=1.0, n_boards_required=1) +machine = sim.get_machine() sim.set_number_of_neurons_per_core(sim.IF_curr_exp, 100) pop_1 = sim.Population(1, sim.IF_curr_exp(), label="pop_1")