From 490bbebe5a64fefbe0c487ad848d5018c0cb287a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Tue, 16 Jul 2024 11:15:18 +0200 Subject: [PATCH] bugfix --- emodelrunner/create_hoc_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emodelrunner/create_hoc_tools.py b/emodelrunner/create_hoc_tools.py index 8617242..40edaac 100644 --- a/emodelrunner/create_hoc_tools.py +++ b/emodelrunner/create_hoc_tools.py @@ -227,7 +227,7 @@ def get_step_hoc(self, prot): if isinstance(step_definitions, dict): step_definitions = [step_definitions] for i, step in enumerate(step_definitions): - max_steps = max(max_steps, i + 1) + self.max_steps = max(self.max_steps, i + 1) if step["amp"] is None: amp = f"{step['thresh_perc'] / 100.} * threshold_current"