From 1d7aec6af1564f73b0477a2a40b72931cd058e79 Mon Sep 17 00:00:00 2001 From: Andrew Rowley Date: Wed, 6 Nov 2024 08:24:06 +0000 Subject: [PATCH] Allow 0 boards as useful at times for energy calculations --- spinn_machine/version/version_3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spinn_machine/version/version_3.py b/spinn_machine/version/version_3.py index c04dd0d3..f81b40c0 100644 --- a/spinn_machine/version/version_3.py +++ b/spinn_machine/version/version_3.py @@ -94,7 +94,7 @@ def get_idle_energy( if n_frames != 0: raise SpinnMachineException( "A version 3 SpiNNaker 1 board has no frames!") - if n_boards != 1: + if n_boards > 1: raise SpinnMachineException( "A version 3 SpiNNaker 1 board has exactly one board!")