def __init__(self, ds, io, filename, file_id, bounds):
    super(OWLSSubfindHDF5File, self).__init__(ds, io, filename, file_id, bounds)
    with h5py.File(filename, mode='r') as f:
        self.header = dict(((field, f.attrs[field]) for field in f.attrs.keys()))
def __init__(self, ds, io, filename, file_id, bounds):
    super(OWLSSubfindHDF5File, self).__init__(ds, io, filename, file_id, bounds)
    with h5py.File(filename, mode='r') as f:
        self.header = dict(((field, f.attrs[field]) for field in f.attrs.keys()))