def get_by_object(self, val):
        oset = self.objmap.get(id(val), None)
        if oset:
            return list(oset)[0]
        return None
Ensure sequences are composed of notes in the correct order
dataset/ETHPy150Open erkyrath/tworld/lib/two/propcache.py/PropCache.get_by_object--crossover with--dataset/ETHPy150Open jtauber/sebastian/tests/test_sequences.py/TestSequences.test_make_sequence