def close(self):
        'if sliceDB needs to be closed, do it and return True, otherwise False'
        try:
            if self._wroteSliceDB:
                self.sliceDB.close()
                self._wroteSliceDB = False # DISK FILE IS UP TO DATE
                return True
        except __HOLE__:
            pass
        return False
dataset/ETHPy150Open cjlee112/pygr/pygr/annotation.py/AnnotationDB.close