Skip to content

Commit

Permalink
support custom node set defined in simulation config
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkilic committed Jul 8, 2024
1 parent f514287 commit 38a08a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def is_valid_group(self, group: str) -> bool:

@lru_cache(maxsize=16)
def get_target_cell_ids(self, target: str) -> set[CellId]:
ids = self._circuit.nodes.ids(target)
ids = self._circuit.nodes.ids(self.config.impl.node_sets[target])
return {CellId(x.population, x.id) for x in ids}

@lru_cache(maxsize=100)
Expand Down

0 comments on commit 38a08a7

Please sign in to comment.