Describe the bug
For display performance, the NeuronArrayView keeps lists of interesting neurons and only update the colors of those unless, for some reason, a full update is needed. The full update initializes the lists. So if a module updates a neuron which isn't on one of the lists, the display doesn't reflect the change. Doing a zoom or pan forces a complete update. Color and Floatvalue type neurons are always added to the lists if they are on the screen.
Application: Brain Simulator
Module/Network: bug visible in the "Maze" network but is more generic
To Reproduce
Steps to reproduce the behavior:
Open the "Maze" network
Click on the "Auto" neuron in the "Navigate" module to start Sallie exploring the maze
Notice that various neurons below "Found" don't change when Sallie encounters new goal locations.
These neurons will suddenly show the correct color values and labels if you zoom/pan the display, click on auto or one of a variety of things which force a complete display update.
Expected behavior
Neurons should display correct values when the values are set.
There should be a mechanism by which a module which changes neuron values can force the display to update them.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug For display performance, the NeuronArrayView keeps lists of interesting neurons and only update the colors of those unless, for some reason, a full update is needed. The full update initializes the lists. So if a module updates a neuron which isn't on one of the lists, the display doesn't reflect the change. Doing a zoom or pan forces a complete update. Color and Floatvalue type neurons are always added to the lists if they are on the screen.
Application: Brain Simulator
Module/Network: bug visible in the "Maze" network but is more generic
To Reproduce Steps to reproduce the behavior:
Expected behavior Neurons should display correct values when the values are set. There should be a mechanism by which a module which changes neuron values can force the display to update them.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Add any other context about the problem here.