Skip to content

Commit

Permalink
Adapt example to use SONATA config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jorblancoa committed Feb 9, 2024
1 parent 3119464 commit e0d823b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/test_neurodamus.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import logging
from os import path as Path

RECIPE_FILE = Path.expanduser("~/dev/TestData/build/circuitBuilding_1000neurons/BlueConfig")
RECIPE_FILE = Path.join(Path.dirname(__file__), "../tests/simulations/usecase3/simulation_sonata.json")
DEFAULT_LOG_LEVEL = 2
TRACE_LOG_LEVEL = 5

Expand Down Expand Up @@ -38,7 +38,6 @@ def test_node_run(trace=False):

logging.info("Create connections")
node.create_synapses()
node.create_gap_junctions()

logging.info("Enable Stimulus")
node.enable_stimulus()
Expand All @@ -55,7 +54,7 @@ def test_node_run(trace=False):
node.enable_reports()

logging.info("Run")
node.run(True)
node.run_all()

logging.info("Simulation finished. Gather spikes then clean up.")
node.spike2file("out.dat")
Expand Down

0 comments on commit e0d823b

Please sign in to comment.