Skip to content

Commit

Permalink
_add_cell-type
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdy88 committed Jun 9, 2024
1 parent 04026b4 commit 017f975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hnn_core/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1106,6 +1106,7 @@ def _add_cell_type(self, cell_name, pos, cell_template=None):
self.gid_ranges[cell_name] = range(ll, self._n_gids)
self.pos_dict[cell_name] = pos
if cell_template is not None:
self.cell_types.update({cell_name: cell_template})
self._n_cells += len(pos)

def gid_to_type(self, gid):
Expand Down

0 comments on commit 017f975

Please sign in to comment.