Skip to content

Commit

Permalink
fix: added n_drives_cells argument to add_evoked_drive in the read_ex…
Browse files Browse the repository at this point in the history
…ternal_drive function used when converting a network configuration file to Network.
  • Loading branch information
gtdang authored and ntolley committed Jul 26, 2024
1 parent d7f43d5 commit c62f729
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hnn_core/hnn_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ def _read_external_drive(net, drive_data, read_output):
sigma=drive_data['dynamics']['sigma'],
numspikes=drive_data['dynamics']['numspikes'],
location=drive_data['location'],
n_drive_cells=_set_from_cell_specific(drive_data),
cell_specific=drive_data['cell_specific'],
weights_ampa=drive_data['weights_ampa'],
weights_nmda=drive_data['weights_nmda'],
Expand Down

0 comments on commit c62f729

Please sign in to comment.