Handle T-bars with no associated PSDs
Open
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
When a annotations-synapse.json file contains a T-bar that does not have any associated PSDs, the following error is encountered:
```
File "/usr/local/synapse-geometry/syngeo/io.py", line 97, in raveler_synapse_annotations_to_coords
for syn in syns]
ValueError: invalid index into a 0-size array
```
This is because the `posts` array is 0-size and so the transpose transformation fails with the above message.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.