def _loadData(self): """ """ # Load levels self._levels_dict = {} # preprocess labels for different levels self.Nlevels = 1 #level = Level.generateFromXML(self.data, levelType='label') level = LabelsLevel.generateFromXML(self.data)#, levelType='label') level.description = self.header.name.text self._levels_dict = {0: level}
def _load_metadata(self): """ """ # Load levels self._levels = {} # preprocess labels for different levels self.nlevels = 1 #level = Level.from_xml(self.data, level_type='label') level = LabelsLevel.from_xml(self.data) #, level_type='label') level.description = self.header.name.text self._levels = {0: level}
def _load_metadata(self): """ """ # Load levels self._levels = {} # preprocess labels for different levels self.nlevels = 1 #level = Level.from_xml(self.data, level_type='label') level = LabelsLevel.from_xml(self.data)#, level_type='label') level.description = self.header.name.text self._levels = {0: level}