@contextmanager
    def temporary_connection(self):
        must_close = self.connection is None
        cursor = self.cursor()
        try:
            yield cursor
        finally:
            cursor.close()
            if must_close:
                self.close()
%prog mcscanx athaliana.athaliana.last athaliana.bed
dataset/ETHPy150Open django/django/django/db/backends/base/base.py/BaseDatabaseWrapper.temporary_connection--crossover with--dataset/ETHPy150Open tanghaibao/jcvi/projects/synfind.py/mcscanx