You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
542 B
26 lines
542 B
2 years ago
|
__author__ = "Paul B. Manis and Luke Campagnola"
|
||
|
__version__ = "0.32a"
|
||
|
|
||
|
try:
|
||
|
import faulthandler
|
||
|
|
||
|
faulthandler.enable()
|
||
|
except ImportError:
|
||
|
pass
|
||
|
|
||
|
import logging
|
||
|
|
||
|
logging.basicConfig(level=logging.INFO, format="[%(process)s] %(message)s")
|
||
|
import os
|
||
|
|
||
|
dirname = os.path.abspath(os.path.dirname(__file__))
|
||
|
libpath = os.path.join(dirname, "..")
|
||
|
import neuron
|
||
|
|
||
|
try:
|
||
|
neuron.h.MultiSiteSynapse
|
||
|
except AttributeError:
|
||
|
neuron.load_mechanisms(libpath)
|
||
|
# flag to allow unit tests to store / overwrite test results
|
||
|
AUDIT_TESTS = False
|