def _check_consistency(self, other):
        if isinstance(other, BaseAnalogSignal):
            for attr in "t_start", "sampling_rate":
                if getattr(self, attr) != getattr(other, attr):
                    raise ValueError("Inconsistent values of %s" % attr)
            # how to handle name and annotations?
Tests case that about half the files are cached
dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/core/analogsignal.py/BaseAnalogSignal._check_consistency--crossover with--dataset/ETHPy150Open BD2KGenomics/toil/src/toil/test/src/jobFileStoreTest.py/JobFileStoreTest.testJobFileStoreWithMediumCache