Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit a4b5fe9

Browse files
committed
avoid loading hoc.so in mac that raises symbol not found #417
1 parent 948ab28 commit a4b5fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bluepyopt/ephys/simulators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, dt=None, cvode_active=True, cvode_minstep=None,
3434
"./data/".
3535
"""
3636

37-
if platform.system() == 'Windows':
37+
if platform.system() in ['Windows', 'Darwin']:
3838
# hoc.so does not exist on NEURON Windows
3939
# although \\hoc.pyd can work here, it gives an error for
4040
# nrn_nobanner_ line

0 commit comments

Comments
 (0)