-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region downloading #1474
Region downloading #1474
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In principle I approve these changes.
What worries me is that to trigger recording there is a script level addition to trigger the "download_synapses". This is less than ideal but I can not think of a clean solution to trigger this for only a few projections.
However I can not find a similar level call to get the data,
I see it in the data.sqlite3 file but there is not way to get it back to script level.
Which means the test only ask for it but never check it was recorded read back let alone correct
Fails if you download_synapses on two (or more) projections into the same target vertex
The problem actually was not the two or more projections but the overlap between ids. fixed by using recordable_variables |
I see that SynapticMatrixApp. get_connections (called indirectly from Projection.get) tries to read back the data saved. This works fine if the simulation is just run once. However this fails if the simulation is run multiple times.
con = input_proj.get(["weight","delay"], "list") print is -- So in the above example the block of data passed to convert_to_connections is twice as log as expected and this confused the function. |
To answer some questions:
|
Add changes to allow fast download of synapses, and test.
Depends on: