Skip to content

Commit

Permalink
Flak8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
torbjone committed Feb 15, 2024
1 parent 8372556 commit db0004f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LFPy/cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -2650,9 +2650,9 @@ def _parent_and_segment_current(self, seg_idx, parent_idx, bottom_seg,
ipar = iseg
else:
# if branch, need to compute iseg and ipar separately
[sib_idcs] = np.take(self.children_dict[parentsec.name()],
np.where(self.children_dict[parentsec.name()]
!= seg_idx))
[sib_idcs] = np.take(
self.children_dict[parentsec.name()],
np.where(self.children_dict[parentsec.name()] != seg_idx))
sibs = [self.get_idx_name(sib_idcs)[i][1]
for i in range(len(sib_idcs))]
# compute potential in branch point between parent and siblings
Expand Down

0 comments on commit db0004f

Please sign in to comment.