def __init__(self, contents=None, **kwargs): VLibNode.__init__(self, **kwargs) if contents is not None: self._contents = contents else: self._contents = [] self._pos = 0
def __init__(self, dbResults, fpColName="AutoFragmentFp", usePickles=True): """ DbResults should be a subclass of Dbase.DbResultSet.DbResultBase """ VLibNode.__init__(self) self._usePickles = usePickles self._data = dbResults self._fpColName = fpColName.upper() self._colNames = [x.upper() for x in self._data.GetColumnNames()] if self._fpColName not in self._colNames: raise ValueError('fp column name "%s" not found in result set: %s' % (self._fpColName, str(self._colNames))) self.fpCol = self._colNames.index(self._fpColName) del self._colNames[self.fpCol] self._colNames = tuple(self._colNames) self._numProcessed = 0
def __init__(self,dbResults,fpColName='AutoFragmentFp',usePickles=True): """ DbResults should be a subclass of Dbase.DbResultSet.DbResultBase """ VLibNode.__init__(self) self._usePickles = usePickles self._data = dbResults self._fpColName = fpColName.upper() self._colNames = [x.upper() for x in self._data.GetColumnNames()] if self._fpColName not in self._colNames: raise ValueError,'fp column name "%s" not found in result set: %s'%(self._fpColName,str(self._colNames)) self.fpCol = self._colNames.index(self._fpColName) del self._colNames[self.fpCol] self._colNames = tuple(self._colNames) self._numProcessed=0
def reset(self): VLibNode.reset(self) self._pos = 0
def __init__(self, dest=None, strFunc=None, **kwargs): VLibNode.__init__(self, **kwargs) self._dest = dest self._func = strFunc
def __init__(self, func=None, negate=0, **kwargs): VLibNode.__init__(self, **kwargs) self._func = func self._negate = negate
def __init__(self, func=None, **kwargs): VLibNode.__init__(self, **kwargs) self._func = func
def __init__(self,func=None,**kwargs): VLibNode.__init__(self,**kwargs) self._func = func