From 999ceba3b71b57ab04d053924df7dfdc8edd77b3 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Tue, 15 Dec 2020 14:38:54 +0100 Subject: [PATCH] Fix missing file extension --- pyzebra/app/panel_spind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyzebra/app/panel_spind.py b/pyzebra/app/panel_spind.py index 6a10e86..aaea667 100644 --- a/pyzebra/app/panel_spind.py +++ b/pyzebra/app/panel_spind.py @@ -118,7 +118,7 @@ def prepare_event_file(export_filename, roi_dict, path_prefix=""): maxfev = 100000 with open(export_filename, "w") as f: for file, rois in roi_dict.items(): - dat = pyzebra.read_detector_data(path_prefix + file) + dat = pyzebra.read_detector_data(path_prefix + file + ".hdf") # here is assumed that only omega_angle can vary sttC = dat["pol_angle"][0]