bsb.morphologies.parsers package#
Module contents#
- bsb.morphologies.parsers.parse_morphology_content(content: str | bytes, parser='bsb', **kwargs)[source]#
- bsb.morphologies.parsers.parse_morphology_file(file: str | PathLike, parser='bsb', **kwargs)[source]#
- class bsb.morphologies.parsers.parser.BsbParser(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
MorphologyParser
- get_node_name()#
- parse(file: FileDependency | str)[source]#
Parse the morphology
- class bsb.morphologies.parsers.parser.MorphIOParser(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
MorphologyParser
- flags#
- get_node_name()#
- parse(file: FileDependency | str) Morphology [source]#
Parse the morphology
- class bsb.morphologies.parsers.parser.MorphologyParser(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
object
- branch_cls: type#
Base implementation of all the different configuration attributes. Call the factory function
attr()
instead.
- cls: type#
Base implementation of all the different configuration attributes. Call the factory function
attr()
instead.
- get_node_name()#
- abstract parse(file: FileDependency | str) Morphology [source]#
Parse the morphology