def load_pkl(self, name):
        with gzip.open(name, 'rb') as f:
            temp = pickle.load(f)
        assert temp.ht_version >= HT_COMPAT_VERSION
        params = temp.params
        self.hashbits = temp.hashbits
        self.depth = temp.depth
        if hasattr(temp, 'maxtimebits'):
            self.maxtimebits = temp.maxtimebits
        else:
            self.maxtimebits = _bitsfor(temp.maxtime)
        self.table = temp.table
        self.counts = temp.counts
        self.names = temp.names
        self.hashesperid = np.array(temp.hashesperid).astype(np.uint32)
        self.ht_version = temp.ht_version
        self.dirty = False
        return params
Tests that parsing metrics will suppress errors if requested.
dataset/ETHPy150Open dpwe/audfprint/hash_table.py/HashTable.load_pkl--crossover with--dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py/TestCollector.test_parse_metrics_suppress_error