Fix read_detector_data usage in open_h5meta

This commit is contained in:
usov_i 2020-03-23 11:23:29 +01:00
parent 5d1fb85d91
commit 18efa5db54

View File

@ -60,10 +60,8 @@ def open_h5meta(filepath):
dict: A dictionary with h5 names and their detector data and angles.
"""
data = dict()
angles = dict()
h5meta_content = read_h5meta(filepath)
for file in h5meta_content["filelist"]:
data[file] = read_detector_data(file)
angles[file] = read_detector_data(file)
return data, angles
return data