diff --git a/pyzebra/h5.py b/pyzebra/h5.py index 9067898..31f0cc1 100644 --- a/pyzebra/h5.py +++ b/pyzebra/h5.py @@ -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