def __init__(self,token,resolution):

    self._resolution = resolution

    # Get DB configuration stuff
    annprojdb = annproj.AnnotateProjectsDB()
    annoproj = annprojdb.getAnnoProj ( token )
    self.dbcfg = dbconfig.switchDataset ( annoproj.getDataset() )
    self.annodb = anndb.AnnotateDB ( self.dbcfg, annoproj )
DB configuration and some state
dataset/ETHPy150Open neurodata/ndstore/ingest/kanno/removebb.py/BBRemover.__init__