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:
@ -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):
|
||||
|
Reference in New Issue
Block a user