From 18efa5db5430e5586ef29f93f4ccccf0566b7354 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Mon, 23 Mar 2020 11:23:29 +0100 Subject: [PATCH] Fix read_detector_data usage in open_h5meta --- pyzebra/h5.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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