Skip to content

Commit

Permalink
target_conns: Dont filter by pop yet
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdonline committed Oct 22, 2024
1 parent e28683a commit 8c2c1c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neurodamus/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,10 +839,10 @@ def get_target_connections(self, src_target_name,
src_target_spec = TargetSpec(src_target_name)
dst_target_spec = TargetSpec(dst_target_name)

src_target = self._target_manager.get_target(src_target_spec, self.src_node_population) \
src_target = self._target_manager.get_target(src_target_spec) \
if src_target_spec.name is not None else None
assert dst_target_spec.name, "No target specified for `get_target_connections`"
dst_target = self._target_manager.get_target(dst_target_spec, self.dst_node_population)
dst_target = self._target_manager.get_target(dst_target_spec)
if src_target and src_target.is_void() or dst_target.is_void():
return

Expand Down

0 comments on commit 8c2c1c3

Please sign in to comment.