Skip to content

Commit

Permalink
Merge pull request #162 from BlueBrain/AurelienJaquier-patch-1
Browse files Browse the repository at this point in the history
Fix bug in protocol.py
  • Loading branch information
AurelienJaquier authored Dec 6, 2023
2 parents 4103eeb + 42d7469 commit d4edc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluepyefe/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit d4edc58

Please sign in to comment.