From 42d7469cc48eac33a86df4613f5e91f04bb180c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Jaquier?= <72930209+AurelienJaquier@users.noreply.github.com> Date: Wed, 6 Dec 2023 14:21:31 +0100 Subject: [PATCH] Fix bug in protocol.py there was a typo --- bluepyefe/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluepyefe/protocol.py b/bluepyefe/protocol.py index 7bb267e..d1b2176 100644 --- a/bluepyefe/protocol.py +++ b/bluepyefe/protocol.py @@ -193,7 +193,7 @@ def reduce_ecode(self, ecode, operator): amp_rel = operator([c["amp_rel"] for c in params]) mean_param = float(amp_rel) * self.global_rheobase / 100. elif key == "amp2" and self.global_rheobase: - amp_rel2 = operator([c["amp_rel2"] for c in params]) + amp_rel2 = operator([c["amp2_rel"] for c in params]) mean_param = float(amp_rel2) * self.global_rheobase / 100. else: mean_param = operator([numpy.nan if c[key] is None else c[key] for c in params])