Importing any bluecellulab submodule (e.g. bluecellulab.utils) triggers init.py, which imports neuron. This introduces unexpected side effects and makes behavior depend on import order (e.g. mechanism loading). It would be better to make NEURON initialization explicit or lazy, instead of happening at package import time.
Importing any bluecellulab submodule (e.g. bluecellulab.utils) triggers init.py, which imports neuron. This introduces unexpected side effects and makes behavior depend on import order (e.g. mechanism loading). It would be better to make NEURON initialization explicit or lazy, instead of happening at package import time.