def __init__(self, geSource, fullDbDict, gtrackColsToAdd):
     self._prefixesToAdd = [GtrackGenomeElementSource.convertNameFromGtrack(col) for col in gtrackColsToAdd]
     if 'edges' in self._prefixesToAdd:
         self._prefixesToAdd.append('weights')
         
     ElementModifierGESourceWrapper.__init__(self, geSource)
     
     self._fullDbDict = fullDbDict
     self._prefixList = geSource.getPrefixList() + self._prefixesToAdd
示例#2
0
 def __init__(self, geSource, fullDbDict, gtrackColsToAdd):
     self._prefixesToAdd = [GtrackGenomeElementSource.convertNameFromGtrack(col) for col in gtrackColsToAdd]
     if 'edges' in self._prefixesToAdd:
         self._prefixesToAdd.append('weights')
         
     ElementModifierGESourceWrapper.__init__(self, geSource)
     
     self._fullDbDict = fullDbDict
     self._prefixList = geSource.getPrefixList() + self._prefixesToAdd
示例#3
0
 def _getHbColumnsFromGtrackColumns(self, columns):
     return [Gtrack.convertNameFromGtrack(col) for col in columns]
 def _getHbColumnsFromGtrackColumns(self, columns):
     return [Gtrack.convertNameFromGtrack(col) for col in columns]