Example #1
0
 def _getValuesFromMd(self, columnName):
     label = md.str2Label(columnName)
     return [self._table.getValue(label, objId) for objId in self._table]
Example #2
0
 def _getValuesFromMd(self, columnName):
     label = md.str2Label(columnName)
     return [self._table.getValue(label, objId) for objId in self._table]
Example #3
0
 def _loadMd(self, fileName, tableName):
     label = md.str2Label(self._orderColumn)
     tableMd = md.MetaData('%s@%s' % (tableName, fileName))
     tableMd.sort(label)#FIXME: use order direction 
     #TODO: sort metadata by self._orderColumn
     return tableMd
Example #4
0
 def _loadMd(self, fileName, tableName):
     label = md.str2Label(self._orderColumn)
     tableMd = md.MetaData('%s@%s' % (tableName, fileName))
     tableMd.sort(label)#FIXME: use order direction 
     #TODO: sort metadata by self._orderColumn
     return tableMd