The Virtual Brain Project

Table Of Contents

Previous topic

uploaders Package

Next topic

gifti Package

This Page

brco Package

parser

class tvb.adapters.uploaders.brco.parser.XMLParser(xml_file, connectivity)[source]

Bases: object

Parser for XML with Connectivity annotations

ATTR_ONTOLOGY_DEFINITION = 'definition'
ATTR_ONTOLOGY_LABEL = 'label'
ATTR_ONTOLOGY_RELATION = 'relation'
ATTR_ONTOLOGY_SYN = 'synonym'
ATTR_ONTOLOGY_URI = 'uri'
ATTR_TVB_ID = 'id'
ATTR_TVB_LABEL = 'label'
LOGGER = <logging.Logger object at 0x7f71fa79b710>
PREFIX_LEFT = ['l', 'L', 'left', 'Left']
PREFIX_RIGHT = ['r', 'R', 'right', 'Right']
PREFIX_TVB_ID = 'http://thevirtualbrain.org#'
read_annotation_terms()[source]

Process XML file. :return List of AnnotationTerm instances.