Skip to content

Commit

Permalink
add 1d test
Browse files Browse the repository at this point in the history
  • Loading branch information
rgourdine committed May 29, 2024
1 parent 4378ec6 commit 6a5a51f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rxd/test_region_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_section_removal(neuron_instance):
def test_zero_fractional_volume_3d(neuron_instance):
h, rxd, data, save_path = neuron_instance
dend1 = h.Section("dend1")
dend1.nseg = 4
dend1.nseg = 5
import warnings
with warnings.catch_warnings(record=True) as w:
cyt = rxd.Region(dend1.wholetree(), "i", name="cyt",
Expand All @@ -49,7 +49,7 @@ def test_zero_fractional_volume_3d(neuron_instance):
def test_zero_fractional_volume_1d(neuron_instance):
h, rxd, data, save_path = neuron_instance
dend1 = h.Section("dend1")
dend1.nseg = 4
dend1.nseg = 5
import warnings
with warnings.catch_warnings(record=True) as w:
cyt = rxd.Region(dend1.wholetree(), "i", name="cyt",
Expand Down

0 comments on commit 6a5a51f

Please sign in to comment.