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

Non-existing myelin section has len(icell.myelin) > 0 causing error on access #419

@lukasgd

Description

@lukasgd
    That works on myelin and the `len(self.icell.myelin) == 1` looks like a bug given that NEURON crashes, complaining that the section was deleted upon accessing e.g. `self.icell.myelin[0]`. I've added safe support for `myelin` now in 2c67258.

Originally posted by @lukasgd in #393 (comment)

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