0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

fix: path to mask fixed

This commit is contained in:
wyzula-jan
2023-09-08 16:18:06 +02:00
parent 33d1193c96
commit ef42921c9a

View File

@ -91,8 +91,8 @@ class EigerPlot(QWidget):
if file_name:
self.load_mask(file_name)
def load_mask(self):
with h5py.File(self.mask_file, "r") as f:
def load_mask(self, path):
with h5py.File(path, "r") as f:
self.mask = f["data"][...]
def delete_mask(self):