From de68da39e016c7adc6dc63e8bc8bb50001eaa45f Mon Sep 17 00:00:00 2001 From: Johannes Hjorth Date: Thu, 22 Aug 2024 14:53:02 +0200 Subject: [PATCH] Fixed linter error --- bluepyopt/ephys/morphologies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluepyopt/ephys/morphologies.py b/bluepyopt/ephys/morphologies.py index ddaf4739..7c12b180 100644 --- a/bluepyopt/ephys/morphologies.py +++ b/bluepyopt/ephys/morphologies.py @@ -211,7 +211,7 @@ def replace_axon(sim=None, icell=None, for index, section in enumerate(icell.axon): section.L = axon_stub_length / 2 - section.nseg = 1 + 2 * int(section.L/axon_nseg_frequency) + section.nseg = 1 + 2 * int(section.L / axon_nseg_frequency) section.diam = ais_diams[index] icell.axonal.append(sec=section) icell.all.append(sec=section)