-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BBPBGLIB-1076] Make all edge managers set load_offsets at init (#69)
## Context Even with a small execution we were hitting ``` 323 NEURON: gid=1000000 already exists on this process as an output port ``` When outputting some debug it turned out that the post synaptic edge index was not being taken into account for the NGV netcon id. Therefore the id collision was almost certain. ## The problem Turns out the `load_offset` property was not always set to True in the connection manager. This likely happens since in newer Sonata circuits there might be no internal connectivity, where such setting was being applied. ## Solution With the current readers we always have synapse ids. So we could generalize the concept and set - All managers to load their synapse indices (ctor arg) - All except NGV which will never require them, so we explicitly disabled. - Setting applied even for connection managers holding projections only ## Testing Tested with Katta's small NGV circuit. ## Review * [x] PR description is complete * [x] Coding style (imports, function length, New functions, classes or files) are good * [ ] Unit/Scientific test added * [ ] Updated Readme, in-code, developer documentation
- Loading branch information
1 parent
da68e6c
commit 43c9714
Showing
4 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters