SpiNNakerManchester / PACMAN

Partition and Configuration Manager for SpiNNaker
Apache License 2.0
9 stars 7 forks source link

Single key_and_mask #472

Closed Christian-B closed 2 years ago

Christian-B commented 2 years ago

The VertexRoutingInfo still has a list of keys and masks.

There was no case of this list being longer than 1.

There where many cases of it being assumed to be of length 1.

These PR convert it to a single key and mask.

So no need to pass in a list No need to index [o]

keys_and_masks renamed keys_and_mask and returns just the 1 keys renamed key and returns just the 1 masks renamed mask and returns just the 1 The first methods have been removed

Must be done at the same time as: https://github.com/SpiNNakerManchester/SpiNNFrontEndCommon/pull/982 https://github.com/SpiNNakerManchester/sPyNNaker/pull/1223 https://github.com/SpiNNakerManchester/MarkovChainMonteCarlo/pull/36

tested by: https://github.com/SpiNNakerManchester/IntegrationTests/pull/147