def test_temporary_subscriptions(self):
        called = []
        sig = signals.Signal('FOO')
        def foo():
            called.append(True)
        sig.emit()
        with signals.temporary_connection(foo, sig):
            sig.emit()
        sig.emit()
        self.assertEqual(len(called), 1)
read names need to be converted to correct species genome
dataset/ETHPy150Open mitsuhiko/solace/solace/tests/signals.py/SignalTestCase.test_temporary_subscriptions--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_metagenomebenchmark.py/renameGenomesInSpeciesMap