Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjhn committed Sep 28, 2023
1 parent 7fc992d commit 1e0f027
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions test/rxd/test_multicompartment_reactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,15 @@ def test_multicompartment_reactions(neuron_instance):
)

h.finitialize(-65)
assert abs(serca._evaluate(location=(cyt, sec, 0.5), instruction="do_1d", units='mM/ms') - 1.1818723974275922e-06) < tol
assert (
abs(
serca._evaluate(
location=(cyt, sec, 0.5), instruction="do_1d", units="mM/ms"
)
- 1.1818723974275922e-06
)
< tol
)
cae_init = (0.0017 - cac_init * fc) / fe
ca[er].concentration = cae_init

Expand All @@ -85,7 +93,7 @@ def test_multicompartment_reactions(neuron_instance):
node.concentration = 2

h.CVode().re_init()

h.continuerun(1000)
if not save_path:
max_err = compare_data(data)
Expand Down

0 comments on commit 1e0f027

Please sign in to comment.