Skip to content

Commit

Permalink
Minor bug (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTaDa committed Dec 21, 2022
1 parent 1511589 commit b201147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluepyefe/recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def call_efel(self, efeatures, efel_settings=None):

settings = {"stimulus_current": self.amp}

if "Threshold" not in settings and self.auto_threshold is not None:
if "Threshold" not in efel_settings and self.auto_threshold is not None:
logger.warning(f"Threshold was not provided and was automatically"
f" set to {self.auto_threshold}")
settings["Threshold"] = self.auto_threshold
Expand Down

0 comments on commit b201147

Please sign in to comment.