Skip to content

Commit

Permalink
style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
torbjone committed Apr 28, 2023
1 parent 906b734 commit 5c85fd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions LFPy/cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -2809,8 +2809,8 @@ def _find_parent_and_segment_M(self, M, seg_idx, parent_idx, bottom_seg,
because of current conservation.
This means that for every axial current we modify four entries in M.
Note however that branch point are more complex, see Hagen et al. (2018)
For a brief discussion.
Note however that branch point are more complex, see
Hagen et al. (2018) for a brief discussion.
Parameters
----------
Expand Down Expand Up @@ -2968,8 +2968,8 @@ def get_transformation_matrix_vmem_to_imem(self):
first_sec = False
continue
self._find_parent_and_segment_M(M, seg_idx, parent_idx,
bottom_seg, branch, parentsec,
conn_point, sec)
bottom_seg, branch, parentsec,
conn_point, sec)
parent_idx = seg_idx
seg_idx += 1
branch = False
Expand Down
2 changes: 1 addition & 1 deletion LFPy/test/test_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ def test_imem_from_vmem_13(self):
'record_potential': True
}

synapse = LFPy.StimIntElectrode(cell, idx=0, **stimParams)
_ = LFPy.StimIntElectrode(cell, idx=0, **stimParams)
cell.simulate(rec_vmem=True, rec_imem=True)

imem = cell.get_transformation_matrix_vmem_to_imem() @ cell.vmem
Expand Down

0 comments on commit 5c85fd8

Please sign in to comment.