Skip to content

Commit 174fdc0

Browse files
committed
Fix n_burst_spikes param (when missing from default dict)
1 parent c50fa0f commit 174fdc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MEArec/generators/recordinggenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def generate_recordings(
448448
exp_decay = params["recordings"]["exp_decay"]
449449

450450
if "n_burst_spikes" not in rec_params.keys():
451-
params["recordings"]["exp_decay"] = [10] * n_bursting
451+
params["recordings"]["n_burst_spikes"] = [10] * n_bursting
452452
else:
453453
if not isinstance(rec_params["n_burst_spikes"], list):
454454
assert isinstance(rec_params["n_burst_spikes"], int), "'n_burst_spikes' can be list or int"

0 commit comments

Comments
 (0)