diff --git a/neurodamus/gap_junction.py b/neurodamus/gap_junction.py index 314568b1..c1ac8bf0 100644 --- a/neurodamus/gap_junction.py +++ b/neurodamus/gap_junction.py @@ -86,7 +86,8 @@ def __init__(self, gj_conf, target_manager, cell_manager, src_cell_manager=None, raise ConfigurationError("Missing GapJunction 'Path' configuration") super().__init__(gj_conf, target_manager, cell_manager, src_cell_manager, **kw) - self._src_target_filter = target_manager.get_target(cell_manager.circuit_target) + self._src_target_filter = target_manager.get_target(cell_manager.circuit_target, + src_cell_manager.population_name) def open_synapse_file(self, synapse_file, *args, **kw): super().open_synapse_file(synapse_file, *args, **kw)