Skip to content

Commit

Permalink
FIX tests for NEURON v8
Browse files Browse the repository at this point in the history
  • Loading branch information
cjayb authored and jasmainak committed May 5, 2021
1 parent 4cbc4b3 commit e037747
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hnn_core/network_builder.py
Expand Up @@ -7,6 +7,11 @@
import numpy as np
from neuron import h

# This is due to: https://github.com/neuronsimulator/nrn/pull/746
from neuron import __version__
if int(__version__[0]) >= 8:
h.nrnunit_use_legacy(1)

from .cell import _ArtificialCell
from .pyramidal import L2Pyr, L5Pyr
from .basket import L2Basket, L5Basket
Expand Down

0 comments on commit e037747

Please sign in to comment.