Skip to content

Commit

Permalink
Fixture fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ntolley authored and jasmainak committed May 19, 2021
1 parent 8dee8a4 commit f2ed3de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hnn_core/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import os.path as op
import hnn_core
from hnn_core import read_params, Network, simulate_dipole
from hnn_core import read_params, default_network, simulate_dipole
from hnn_core import MPIBackend, JoblibBackend

# store history of failures per test class name and per index in parametrize
Expand Down Expand Up @@ -89,7 +89,7 @@ def _run_hnn_core_fixture(backend=None, n_procs=None, n_jobs=1,
't_evdist_1': 10,
't_evprox_2': 20,
'N_trials': 2})
net = Network(params, add_drives_from_params=True)
net = default_network(params, add_drives_from_params=True)

# number of trials simulated
for drive in net.external_drives.values():
Expand Down

0 comments on commit f2ed3de

Please sign in to comment.