Skip to content

Commit

Permalink
fix key errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ntolley committed Oct 25, 2023
1 parent da91881 commit 05ab75d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hnn_core/params_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def get_params_default(nprox=2, ndist=1):
'record_isoma': 0, # whether to record somatic currents
'record_vsec': 0, # whether to record voltages
'record_isec': 0, # whether to record currents
'record_dcell': 0, # whether to record cell dipoles

# numerics
# N_trials of 1 means that seed is set by rank
Expand Down
2 changes: 1 addition & 1 deletion hnn_core/tests/test_cell_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_cell_response(tmp_path):
# reset clears all recorded variables, but leaves simulation time intact
assert len(cell_response.times) == len(sim_times)
sim_attributes = ['_spike_times', '_spike_gids', '_spike_types',
'_vsec', '_isec']
'_vsec', '_isec', '_dcell']
net_attributes = ['_times', '_cell_type_names'] # `Network.__init__`
# creates these check that we always know which response attributes are
# simulated see #291 for discussion; objective is to keep cell_response
Expand Down

0 comments on commit 05ab75d

Please sign in to comment.