Skip to content

Avoid implicit NEURON import at package import time #74

@ilkilic

Description

@ilkilic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions