Skip to content

Commit

Permalink
Don't return early from target_gids, enable intersection
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdonline committed Oct 2, 2024
1 parent ad3f755 commit 0340a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurodamus/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def _iterate_conn_params(self, src_target, dst_target, gids=None, show_progress=

def target_gids(gids):
if gids is None:
return self._raw_gids
gids = self._raw_gids
gids = numpy.intersect1d(gids, self._raw_gids)
if dst_target:
gids = numpy.intersect1d(gids, dst_target.get_raw_gids())
Expand Down

0 comments on commit 0340a8e

Please sign in to comment.