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)