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.
25 lines
542 B
25 lines
542 B
__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
|
|
|