diff --git a/docs/pyerrors/input/hadrons.html b/docs/pyerrors/input/hadrons.html index 52ee100c..09026c97 100644 --- a/docs/pyerrors/input/hadrons.html +++ b/docs/pyerrors/input/hadrons.html @@ -173,8 +173,8 @@ 80 h5file = h5py.File(path + '/' + hd5_file, "r") 81 if not tree + '/' + meson in h5file: 82 raise Exception("Entry '" + meson + "' not contained in the files.") - 83 raw_data = list(h5file[tree + '/' + meson + '/corr']) - 84 real_data = [o[0] for o in raw_data] + 83 raw_data = h5file[tree + '/' + meson + '/corr'] + 84 real_data = raw_data[:]["re"].astype(np.double) 85 corr_data.append(real_data) 86 if not infos: 87 for k, i in h5file[tree + '/' + meson].attrs.items(): @@ -489,8 +489,8 @@ 81 h5file = h5py.File(path + '/' + hd5_file, "r") 82 if not tree + '/' + meson in h5file: 83 raise Exception("Entry '" + meson + "' not contained in the files.") -84 raw_data = list(h5file[tree + '/' + meson + '/corr']) -85 real_data = [o[0] for o in raw_data] +84 raw_data = h5file[tree + '/' + meson + '/corr'] +85 real_data = raw_data[:]["re"].astype(np.double) 86 corr_data.append(real_data) 87 if not infos: 88 for k, i in h5file[tree + '/' + meson].attrs.items():