def get_ensembl_db_name(self, ens_prefix, trackVersion):
        ucsc_versions = sqlgraph.SQLTableMultiNoCache(trackVersion,
                                               serverInfo=self.ucsc_server)
        ucsc_versions._distinct_key = 'db'
        cursor = self.ens_server.cursor()
        for t in ucsc_versions[self.ucsc_db]: # search rows until success
            if ens_prefix is None:
                # Note: this assumes 'source' in hgFixed.trackVersion contains
                # the URI of the Ensembl data set and that the last path component
                # of that URI is the species name of that data set.
                try:
                    ens_prefix1 = t.source.split('/')[-2]
                except IndexError:
                    continue
            else:
                ens_prefix1 = ens_prefix
            cursor.execute("show databases like '%s_core_%s_%%'" 
                           % (ens_prefix1, t.version))
            try:
                return cursor.fetchall()[0][0]
            except IndexError:
                pass
        raise KeyError(
                "Genome %s doesn't exist or has got no Ensembl data at UCSC" %
                self.ucsc_db)
Always returns True (indicating this Task should always
dataset/ETHPy150Open cjlee112/pygr/pygr/apps/ucsc_ensembl_annot.py/UCSCEnsemblInterface.get_ensembl_db_name--crossover with--dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Taskmaster.py/AlwaysTask.needs_execute