There is a mistake in the LegacyPartitionerAPI detection.
The api defines:
@abstractproperty
def n_atoms(self):
Which is the same as ApplicationVertex has.
Yet the test class DuckLegacyApplicationVertex has it without the @property tag
If you add the property tag you get:
pacman.exceptions.PacmanConfigurationException: The vertex ... cannot be supported by the ... as the vertex does not support the required method n_atoms of LegacyPartitionerAPI. Please inherit from the class in pacman.model.partitioner_interfaces.legacy_partitioner_api and try again.
But if you dont add the property any call to vertex.n_atoms returns a method which is not what is needed.
Clearly the auotdetection of LegacyPartitionerAPI was never used so I suggested striping that code out.
There is a mistake in the LegacyPartitionerAPI detection.
The api defines: @abstractproperty def n_atoms(self):
Which is the same as ApplicationVertex has.
Yet the test class DuckLegacyApplicationVertex has it without the @property tag
If you add the property tag you get: pacman.exceptions.PacmanConfigurationException: The vertex ... cannot be supported by the ... as the vertex does not support the required method n_atoms of LegacyPartitionerAPI. Please inherit from the class in pacman.model.partitioner_interfaces.legacy_partitioner_api and try again.
But if you dont add the property any call to vertex.n_atoms returns a method which is not what is needed.
Clearly the auotdetection of LegacyPartitionerAPI was never used so I suggested striping that code out.