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
def _getHbColumnsFromGtrackColumns(self, columns): return [Gtrack.convertNameFromGtrack(col) for col in columns]