Make GetStatus and SetStatus compatible #248
Labels
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: Normal
Handle this with default priority
T: Enhancement
New functionality, model or documentation
ZC: Kernel
DO NOT USE THIS LABEL
ZP: Pending
DO NOT USE THIS LABEL
GetStatus
andSetStatus
are complementary functions and it is reasonable to expect that the result ofGetStatus
can be used as input toSetStatus
:should work. Currently, it does not work (for almost all models). One reason for this is that
GetStatus
returns a number of read-only values; when these are sent toSetStatus
, they are not read out and anUnaccessedDictionaryItem
exception is raised.The same should also apply to getting and setting status on connections.
Note:
SetStatus
does not provide a full reset!will not fully reset the nodes, since
SetStatus
does not change the contents of buffers for incoming spikes and possibly other variables representing the history of the neuron.This is one part of a follow-up of trac.577.
The text was updated successfully, but these errors were encountered: