Skip to content

ngv: disconnected cells - #327

Merged
cattabiani merged 4 commits into
mainfrom
katta/fix_ngv_no_connection_cell
Aug 15, 2025
Merged

ngv: disconnected cells#327
cattabiani merged 4 commits into
mainfrom
katta/fix_ngv_no_connection_cell

Conversation

@cattabiani

@cattabiani cattabiani commented Jun 27, 2025

Copy link
Copy Markdown
Collaborator

Context

ngv was failing to retrieve a synapse property when a cell has no synapses.

fix: #163

Scope

Solution: check that there are no synapses and do not retrieve a value that is just not there

  • dismember _iterate_conn_params in a few helper functions. tox -e format was complaining that the function was too long. I am sorry

Testing

add 2 disconnected cells in the ngv test. Tweak the tests in the same way

Review

  • PR description is complete
  • Coding style (imports, function length, New functions, classes or files) are good
  • Unit/Scientific test added
  • Updated Readme, in-code, developer documentation

@cattabiani cattabiani self-assigned this Jun 27, 2025
@cattabiani
cattabiani requested a review from mgeplf June 27, 2025 13:50
Comment thread neurodamus/connection_manager.py
juanjosegarcan
juanjosegarcan previously approved these changes Aug 14, 2025

@juanjosegarcan juanjosegarcan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cattabiani
cattabiani merged commit c1fd2fc into main Aug 15, 2025
19 checks passed
@cattabiani
cattabiani deleted the katta/fix_ngv_no_connection_cell branch August 15, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ngv: synapseReader with load_offset fails if a neuron has no synapses

2 participants