Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaquier Aurélien Tristan committed Jul 16, 2024
1 parent 0ab3000 commit 490bbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emodelrunner/create_hoc_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 490bbeb

Please sign in to comment.