Skip to content

Commit

Permalink
Another one
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Dec 6, 2024
1 parent 460e12b commit 8262448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion share/lib/python/neuron/rxd/region.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, regions):
for rptr in self._regions:
r = rptr()
self._overlap = h.SectionList(
[sec for sec in list(r._secs1d) if sec in self._overlap]
[sec for sec in list(r._secs1d) if sec in list(self._overlap)]
)
if r in _c_region_lookup:
_c_region_lookup[rptr].append(self)
Expand Down
2 changes: 1 addition & 1 deletion test/pytest_coreneuron/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_HocObject_no_deferred_unref():
for sec in h.allsec():
print(sec)
sl.append(sec=sec)
assert list(sl)
assert len(list(sl)) == 0


def test_deleted_sec():
Expand Down

0 comments on commit 8262448

Please sign in to comment.