From 47bb267c0eed5facc0b31888e37d075e471f5609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Wed, 10 Jul 2024 15:08:48 +0200 Subject: [PATCH] fix typo in SineSpec --- bluepyefe/ecode/sineSpec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluepyefe/ecode/sineSpec.py b/bluepyefe/ecode/sineSpec.py index 0c31d87..2a122f7 100644 --- a/bluepyefe/ecode/sineSpec.py +++ b/bluepyefe/ecode/sineSpec.py @@ -95,7 +95,7 @@ def interpret(self, t, current, config_data, reader_data): if "toff" in config_data and config_data["toff"] is not None: self.toff = int(round(config_data["toff"] / self.dt)) else: - self.ton = 5100 + self.toff = 5100 logger.warning( "As toff was not specified for protocol {}, it will " "be set to 5100ms.".format(self.protocol_name)