Fix read_detector_data usage in app.py
This commit is contained in:
parent
b1179ce01c
commit
5d1fb85d91
@ -67,7 +67,7 @@ def update_image():
|
|||||||
|
|
||||||
def filelist_callback(_attr, _old, new):
|
def filelist_callback(_attr, _old, new):
|
||||||
global curent_h5_data, current_index
|
global curent_h5_data, current_index
|
||||||
data = pyzebra.read_detector_data(new)
|
data, _, _, _ = pyzebra.read_detector_data(new)
|
||||||
curent_h5_data = data
|
curent_h5_data = data
|
||||||
current_index = 0
|
current_index = 0
|
||||||
update_image()
|
update_image()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user