Fix missing file extension
This commit is contained in:
parent
0a634ca8da
commit
999ceba3b7
@ -118,7 +118,7 @@ def prepare_event_file(export_filename, roi_dict, path_prefix=""):
|
|||||||
maxfev = 100000
|
maxfev = 100000
|
||||||
with open(export_filename, "w") as f:
|
with open(export_filename, "w") as f:
|
||||||
for file, rois in roi_dict.items():
|
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
|
# here is assumed that only omega_angle can vary
|
||||||
sttC = dat["pol_angle"][0]
|
sttC = dat["pol_angle"][0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user